WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-
异常信息如下:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
解决办法
1 进入 hadoop 安装目录
2 用 ldd 命令查看依赖库
3 现在检查系统的 glibc 库, ldd –version 即可检查
现在有两个办法,重新编译 glibc.2.14 版本,安装后专门给 hadoop 使用,这个有点危险。
第二个办法直接在 log4j 日志中去除告警信息。在 //usr/local/hadoop-2.5.2/etc/hadoop/log4j.properties 文件中添加
1 在 log4j.properties 文件中添加内容
参考资料
1 Hadoop 之—— WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform…
http://blog.csdn.net/l1028386804/article/details/51538611
2 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
http://blog.csdn.net/young_kim1/article/details/50324345
上一篇: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your......
下一篇: 【Spark】NativeCodeLoader:62Unable to load native-hadoop library for your platform... using builtin-ja
推荐阅读
-
Hadoop启动警告:WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... usi
-
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your......
-
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-
-
【Spark】NativeCodeLoader:62Unable to load native-hadoop library for your platform... using builtin-ja
-
Hadoop _ 疑难杂症 解决1 - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your plat
-
Hadoop HDFS 出现 WARN Unable to load native-hadoop library for your platform解决方法
-
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platfo
-
如何解决WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...