hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Sudarashana <>
Subject RE: issue about hive command line
Date Mon, 02 Dec 2013 13:10:07 GMT
Hi huang,

Redirect the output to a file on the local file system.
hive -e "DDL" > hive.log

You can then go through the hive.log file to figure out if the query was successful or not.

Thank you,

-----Original Message-----
From: "Garg, Rinku" <>
Sent: ‎02-‎12-‎2013 13:39
To: "" <>
Subject: RE: issue about hive command line

Set your hive home  to $HIVE_HOME variable and execute the following command.
$HIVE_HOME/bin/hive –e  "DDL"
Thanks & Regards,
Rinku Garg - Global Commercial Services

From: ch huang [] 
Sent: 02 December 2013 13:22
Subject: issue about hive command line
              i am write a bash script,what i want is run "hive -e 'DDL' " in script, and
i want judge if the hive DDL is success or fail,how can i do this ? 
The information contained in this message is proprietary and/or confidential. If you are not
the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review
by persons other than the intended recipient. Thank you.
View raw message