WARN util.NativeCodeLoader: Unable to load native-hadoop library for your......
程序员文章站
2022-07-14 15:21:05
...
hsfs显示目录信息时
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform
无法访问本机Hadoop库
一顿搜索,才明白是依赖需要升级
这里选择亲测有效的
Glibc 升级:
下载源码:
http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gz
安装
[aaa@qq.com opt]# tar -xf glibc-2.17.tar.gz
[aaa@qq.com opt]# cd glibc-2.17
[aaa@qq.com]# mkdir build; cd build
[aaa@qq.com build]# ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
[aaa@qq.com build]# make -j 8
这里需要等待数分钟
[aaa@qq.com build]# make install
这里还是需要等待数分钟
出现这个就ok了
再查询
[aaa@qq.com opt]# strings /lib64/libc.so.6 | grep
上一篇: Hadoop第一篇:hadoop2.7.5单机版安装
下一篇: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-
推荐阅读
-
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
-
Unable to load native-hadoop library for your platform解决
-
解决 Unable to load native-hadoop library for your platform
-
Hadoop _ 疑难杂症 解决1 - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your plat
-
MAC解决Unable to load native-hadoop library for your platform
-
问题解决:Spark Unable to load native-hadoop library for your platform
-
Hadoop HDFS 出现 WARN Unable to load native-hadoop library for your platform解决方法