Yes, non-zero exit code means an error. Zheng
On Mon, Dec 1, 2008 at 10:02 PM, Josh Ferguson <[EMAIL PROTECTED]> wrote: > So say I'm using some ruby code to shell out to hive for data loading such > as: > > hive -e "LOAD ..." > > What's the preferred method of detecting errors in this situation? Do the > failures return some sort of error codes that I could normally catch or am I > stuck doing parsing of the results? Also, is there a preferred method for > doing this straight in java? > > Josh > -- Yours, Zheng
