hadoop conf文件:opt/hadoop/etc/hadoop/core-site.xml
什么时候设置
<name>hadoop.native.lib</name>
然后启动hbase shell
,会有四行警告:
2015-02-10 11:07:46,956 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-02-10 11:07:47,005 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-02-10 11:07:47,046 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-02-10 11:07:47,081 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-02-10 11:07:47,169 INFO [main] Configuration.deprecation:hadoop.native.lib已弃用。相反,请使用io.native.lib.available
但是设定的时候
<name>io.native.lib.available</name>
然后启动hbase shell
,会有一行警告:
2015-02-10 11:07:46,956 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
如何设置使其不显示任何此警告?
我正在使用hadoop 2.5.2和hbase 0.98.8 @ubuntu x64。