Ok. Thanks for the info. I have a java wrapper written around hive -e that threw an exception when the error stream had any data. I changed the wrapper to check for a non 0 error status returned from the process instead of looking at the error stream and that works fine now.
Thanks. On Mon, Jun 1, 2009 at 4:33 PM, Raghu Murthy <[email protected]> wrote: > Only info messages are being written to stderr. The actual data should be > written to stdout. See https://issues.apache.org/jira/browse/HIVE-505 > > > On 6/1/09 1:29 PM, "Matt Pestritto" <[email protected]> wrote: > > > Hi All. > > > > It seems like the latest trunk is writing stdout to stderr on a hive -e > > call. Is this the intended functionality ? > > > > hive -e "query 1; query 2; query 3; " 2> errors.out > > > > errors.out has stdout. stdout has no output. > > > > Thanks > > -Matt > >
