Unable to load native-hadoop library for your platform解决方法
Posted ZSJ-白
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Unable to load native-hadoop library for your platform解决方法相关的知识,希望对你有一定的参考价值。
在执行hadoop命令的时候出现如下错误,不能加载Hadoop库
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
检查发现本地并没有库
[hadoop001@192 ~]$ hadoop checknative -a 18/12/30 03:46:50 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Native library checking: hadoop: false zlib: false snappy: false lz4: false bzip2: false openssl: false 18/12/30 03:46:50 INFO util.ExitUtil: Exiting with status 1
进入Hadoop下的lib ative发现是空文件夹
http://dl.bintray.com/sequenceiq/sequenceiq-bin/
下载对应版本的native库
解压至lib ative下
重新启动dfs,解决了
以上是关于Unable to load native-hadoop library for your platform解决方法的主要内容,如果未能解决你的问题,请参考以下文章
Unable to load dispatcher.filter.StrutsPrepareAndExecuteFilter
Excel Web Access 报错:Unable to Load Workbook
Unable to load configuration. - [unknown location]