Hive 执行sql 报 2015-01-22 17:07:59,263 WARN conf.HiveConf (HiveConf.java:initialize(1507)) - DEPRECAT

来源:互联网 发布:程序员八荣八耻 编辑:程序博客网 时间:2024/06/14 16:37

      在执行Hive的时候报

2015-01-22 17:07:59,263 WARN  conf.HiveConf (HiveConf.java:initialize(1507)) - DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

     不影响使用,但是当你有 hive -e "SELECT * FROM Table1" >> Table.csv 这样的需求时,会发现 坑爹的错误也导了出来


这是你只需要

And the workaround for (2) is to add the below to the Hive Gateway Advanced Configuration Snippet for hive-site.xml (safety valve):<property><name>hive.metastore.local</name><value></value></property>

对应Cloudera Manager 的配置方法 如图:




0 0
原创粉丝点击