hadoop WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using b

Posted Jesse_Li

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using b相关的知识,希望对你有一定的参考价值。

这个waring 信息是可以忽略的。下面是解决方案

在hadoop-env.sh中添加

 

export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"

export HADOOP_COMMON_LIB_NATIVE_DIR="/usr/local/hadoop/lib/native/"

以上是关于hadoop WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using b的主要内容,如果未能解决你的问题,请参考以下文章

hadoop WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using b

Hadoop问题解决:WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... usi

Hadoop 2.7.3 WARN util.NativeCodeLoader:无法为您的平台加载 native-hadoop 库...在适用的情况下使用内置 java 类

WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...

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-