Unable to exit Hive

exit hive beeline
hive commands
hive shell
hive shell commands
beeline hive
hive set command
how to start hive
hive add jar

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.

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;


hive> exit;

Hive on Error Stop Script Execution - Options, 2017년 2월 26일 오전 4시 15분. Unable to exit hive. I went into the hive. Got my diamonds and litihium, fought of some aliens, but then had trouble jumping out of � Once done with hive we can use quit command to exit from the hive shell. Hive is just a part of the big puzzle called Big Data and Hadoop. Hadoop is much more than just Hive. Click below to see what other skills you should master in Hadoop. Got a question for us? Please mention it in the comments section and we will get back to you. Related Posts:

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.


no semicolon should be used

Unable to exit hive. :: Osiris: New Dawn Report Bugs Here!, You can start the Hive shell, which uses Beeline in the background, to enter After starting the Hive shell as the hive user, you can submit queries to Hive. How the DataNode recovers failed erasure-coded blocks � Erasure coding policies 35, 1.28), ('barney rubble', 32, 2.32);. Exit the Beeline and Hive shells. ! quit. Hive services are not starting. The command just hangs indefinitely and does not complete. the command I am using is : hive --service hiveserver2 34557/unable-to-start-hive-server

You should also be about to use ctrl+c to exit

LanguageManual Cli - Apache Hive, Solved: I have a shell script that calls a series of hive .sql scripts. If a hive operation fails, I want the shell script to stop and exit. How can. (4 replies) Hi, All other hue apps ( hive/beeswax, Impala, etc) work fine and all failed jobs described below ended approximatively in 10s. When I submit an oozie hive job using sql just like this "use test.custuse", the job failed on : Hadoop Job IDs executed by Hive: Intercepting System.exit(1) <<< Invocation of Main class completed <<< Failing Oozie Launcher, Main class [org.apache.oozie

This is the right way to quit or exit from hive session.

hive> quit;


hive> exit;

Not the ;

Start a Hive shell as the hive user, On Amazon EMR version 5.26.0 and earlier, the Hive table won't contain the name-value pair from DynamoDB. If you do not map the DynamoDB primary key � I've created a table in Hive and loaded data in the same. Now I need to check the table size of my table. I'm using the below property to do the same: show tblproperties yourTableName("rawDataSize") However, I'm unable to know the table size. Attaching the output for the same : horton.png

You can quit using Ctrl(key) + C(Key) or quit; at the hive shell prompt. That should work!!

Solved: How to determine whether a hive script fails?, data already in storage. A command line tool and JDBC driver are provided to connect users to Hive. Note: If you misspell the variable name, Beeline will not show an error. !quit is the recommended command to exit the Beeline shell. However, there is a bug in Hive that when you try to run an “INSERT OVERWRITE” using dynamic partitioning, because Hive is unable to figure out which partitions need to be locked, it currently only applies “SHARED” lock to the table being updated.

Set Up a Hive Table to Run Hive Commands, App > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql. exec.DDLTask. Qubole > Shell Command failed with exit code: 1 Since the number of partitions may not be known, an exclusive lock is supposed to be taken (but currently not due to HIVE-3509 bug) on the table, or the prefix that is known. Two new configurable parameters will be added to decide the number of retries for the lock and the wait time between each retry.

Apache Hive 3.1.1 Language Manual, Execution failed with exit status: 1 ERROR : Obtaining error information ERROR : Task failed! Task ID: Stage-4 Logs: ERROR : /var/log/hive/hive-server2. log� I'm trying to run Hive 3.1 with Hadoop 3.0. Following is my system configuration: Ubuntu 18.04.1 LTS Hadoop version 3.0.3 Hive 3.1.0 Derby 10.14.2 When I execute the show tables; query I get the

Have problem running Hive CLI as a shell command, OS: 2.6.18-194.el5xen #1 SMP Fri Apr 2 15:34:40 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux Hadoop 1.1.2

  • hive > quit; and hive > exit; didn't work for me. This did though.
  • Can you explain how your answer is better than the ones already provided?