adaltas / node-thrift-hive

Hive client using the Apache Thrift RPC system
http://www.adaltas.com
Other
28 stars 10 forks source link

node-thrift-hive does not capture the same stdout output I see from the hive console #1

Closed apatil closed 11 years ago

apatil commented 11 years ago

Thanks for node-thrifht-hive, it's super helpful. I'm trying to use it to set up a web console for Hive and was wondering whether it's possible to get the Thrift client to capture everything that would be sent to stdout and stderr in the hive CLI. For example, if I ssh to the head node, start hive, and do

hive> show tables

I see

OK
impressions
Time taken: 10.77 seconds

The node-thrift-hive client only gives me the output, impressions, not OK or Time taken:....

wdavidw commented 11 years ago

I'm pretty sure those information a generated by log4j and not exposed by the REST interface