hive error resoled "DEPRECATED: hive.metastore.ds.retry.* no longer has any effect. Use hive.hmshandler.retry.* instead"

I have installed hadoop(2.4.1)single node cluster and have tried to install hive(0.13.0)over it.
system base on Mac OS 10.9.4 width brew.
The problem is that everytime i start hive, I am getting this error bellow:

[shell]
hive -hiveconf hive.root.logger=WARN,console
14/08/25 16:07:49 WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect. Use hive.hmshandler.retry.* instead
14/08/25 16:07:50 [main]: WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect. Use hive.hmshandler.retry.* instead

Logging initialized using configuration in jar:file:/usr/local/Cellar/hive/0.13.1/libexec/lib/hive-common-0.13.1.jar!/hive-log4j.properties
14/08/25 16:07:50 [main]: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/08/25 16:07:52 [main]: WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect. Use hive.hmshandler.retry.* instead
hive> %
[/shell]

The error fixed by edit the hive-site.xml
replace hive.metastore.ds.retry width /hive.hmshandler.retry

vim /usr/local/Cellar/hive/0.13.1/libexec/conf/hive-site.xml
:%s/hive.metastore.ds.retry/hive.hmshandler.retry/g
:wq

发表评论