WARN [main] conf.HiveConf (HiveConf.java:initialize(1488)) - DEPRECATED

問題描述:hive 關於告警問題的解決:WARN  [main] conf.HiveConf (HiveConf.java:initialize(1488)) - 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.java

[root@master neo4j]#  hive -S -e " " > data.csv
[root@master neo4j]# cat data.csv
ide

2015-01-12 09:42:51,812 WARN  [main] conf.HiveConf (HiveConf.java:initialize(1488)) - 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.spa

 

問題緣由:在0.10  0.11或者以後的HIVE版本 hive.metastore.local 屬性再也不使用。server

解決辦法:在hive-site.xml 在配置文件裏面找到:xml

 <property>
 <name>hive.metastore.local</name>
  <value>false</value>
  <description>controls whether to connect to remove metastore server or open a new metastore server in Hive Client JVM</description>
</property>ip

將其刪除掉。再次登陸  警告就消失了,不用重啓便可。rem

注:只針對修改的機器生效,要讓集羣生效,須要刪除集羣全部機器的配置。it

相關文章
相關標籤/搜索