在执行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 的配置方法 如图: