WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
启动守护线程的时候: sbin/start-dfs.sh
出现如下的错误提醒:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
解决办法:
该网址下面下载对应的版本(我使用的是hadoop-2.5.2)
http://dl.bintray.com/sequenceiq/sequenceiq-bin
下载完以后,解压到hadoop的native目录下,覆盖原有文件即可。操作如下:
tar -x hadoop-native-64-2.5.2.tar -C hadoop/lib/native/
然后再启动,就不会有问题了
posted on 2016-06-27 15:38 peng.zhang 阅读(469) 评论(0) 编辑 收藏 举报