You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Xiaoyong Zhu <xi...@microsoft.com> on 2015/01/09 08:57:02 UTC

how to get hive script output/logs via HDFS/WebHCat?

Hi experts

I don't know if there is a way to get the hive script output and result programmatically as well as remotely?

For example, after using WebHCat to submit a query: describe databases;

I want to get the logs:

15/01/08 23:52:34 WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect.  Use hive.hmshandler.retry.* instead
Logging initialized using configuration in file:/C:/hdp/hive-0.13.0.2.1.3.0-1981
/conf/hive-log4j.properties
OK
Time taken: 1.015 seconds, Fetched: 1 row(s)

And the result:
default

via WebHCat/HDFS or other ways (rather than hive cmd since that is not "pragmatically and remotely").

Could someone share some ideas?

Xiaoyong