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

问题描述: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.
searchd_caijipro

[root@master data]#  hive -S -e "use sphinxlogs; show tables" > $log_path/all_tabs.txt
[root@master data]# cat $log_path/all_tabs.txt
2014-12-01 14:22:09,151 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.
searchd_caijipro

searchd_pro

问题原因:

在0.10  0.11或者之后的HIVE版本 hive.metastore.local 属性不再使用。

解决办法:vim hive-site.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>

删除掉。再次登录  警告就消失了,不用重启即可。



你可能感兴趣的:(WARN [main] conf.HiveConf (HiveConf.java:initialize(1488)) - DEPRECATED: Configuration property hiv)