hadoophiveubuntu-14.04

Unable to exit Hive


I've just installed Hive on my Ubuntu machine (14.04). When I run hive in the terminal, it comes up with

 Logging initialized using configuration in jar:file:/home/nkhl/Documents/apachehive/lib/hive-common-1.2.1.jar!/hive-log4j.properties 
which is fine, I guess. Then the Hive shell opens. I haven't learnt Hive (yet) so when i run quit to quit the shell, it does nothing.

Here's the version of Hive i am on now:


Hive 1.2.1
Subversion git://localhost.localdomain/home/sush/dev/hive.git -r 243e7c1ac39cb7ac8b65c5bc6988f5cc3162f558
Compiled by sush on Fri Jun 19 02:03:48 PDT 2015
From source with checksum ab480aca41b24a9c3751b8c023338231

I close the terminal off, to quit the shell. Please help!

Thanks in advance.


Solution

  • 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;