RE: issue about hive command line

2013-12-02 Thread Sachin Sudarashana
2-‎2013 13:39 To: "user@hive.apache.org" 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 [mailto:jus

Re: issue about hive command line

2013-12-02 Thread ch huang
it's not worked ,when i write script,first way i used is what you suggested On Mon, Dec 2, 2013 at 8:07 PM, Nitin Pawar wrote: > try writing a wrong ddl and capture the command exit status with $? > > if thats what you are looking for > > > On Mon, Dec 2, 2013 at 5:34 PM, ch huang wrote: > >>

Re: issue about hive command line

2013-12-02 Thread Nitin Pawar
try writing a wrong ddl and capture the command exit status with $? if thats what you are looking for On Mon, Dec 2, 2013 at 5:34 PM, ch huang wrote: > i means how to judge if the hive DDL success or fail ,i figure it out by > myself ,i store the error output to a file ,then search FAIL text i

Re: issue about hive command line

2013-12-02 Thread ch huang
i means how to judge if the hive DDL success or fail ,i figure it out by myself ,i store the error output to a file ,then search FAIL text in the file,if not, success,if get ,fail On Mon, Dec 2, 2013 at 4:08 PM, Garg, Rinku wrote: > Set your hive home to $HIVE_HOME variable and execute the fol

RE: issue about hive command line

2013-12-02 Thread Garg, Rinku
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 [mailto:justlo...@gmail.com] Sent: 02 December 2013 13:22 To: user@hive.apache.org Subject: issue about hive comman