蜂巢:执行蜂巢查询并将结果存储在变量中

时间:2018-06-28 12:48:29

标签: apache unix hive

当我在Linux中运行此查询时,我发现发生了一件奇怪的事情:

$ id_list=$(hive -S -e "SELECT id FROM user.tbl_nm WHERE DATE = '20180618' AND lookup_ID = '00';")
$ echo $id_list

我得到以下额外的消息以及查询结果。

012 WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked. WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.

如何禁止此slf4j消息?我想这与蜂巢日志设置有关;

谢谢, 复兴

0 个答案:

没有答案