Configuration.deprecation:不推荐使用hadoop.native.lib。相反,使用io.native.lib.available

时间:2015-02-15 20:38:35

标签: hadoop hbase

当我想启动基本shell时,我收到此错误:

[main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
像这样:

root@SE ~ # ./hbase/bin/hbase shell
2015-02-15 20:17:51,925 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.98.10-hadoop2, rb18bc4b06f3eb90f592c906e78fb6461548ae627, Sun Feb  1 05:48:33 UTC 2015

hbase(main):001:0> 

我应该如何修复此错误?

1 个答案:

答案 0 :(得分:1)

这是Hbase的已知问题。它已经tracked here,状态显示它已在新版本中修复。

Hbase操作不受影响。甚至有一个关于Hbase的教程正常包含这些警告,并将它们包含在预期的输出中: HBase Basics.