Unable to exit Hive
Here we can exit from hive shell by the following 3 commands
1.hive>exit;
2.hive>quit;
As we all know that we can connect to hiveserver2 from beeline,jdbc-odbc,trift api
.So when you are using beeline shell then the first two commands will not work so its better to use the following command to exit from beeline.
!exit
no semicolon should be used
I guess you must have forgotten to write semi-colon
at the end of quit
.
Use quit
or exit
to leave the interactive shell as shown below. Notice semi-colon (i.e. ; )
hive> quit;
OR
hive> exit;
You should also be about to use ctrl+c to exit
This is the right way to quit or exit from hive session.
hive> quit;
or
hive> exit;
Not the ;