HADOOP Unable to load native-hadoop library for your platform... using builtin-java classes where

HADOOP Unable to load native-hadoop library for your platform... using builtin-java classes where_第1张图片

解决:vi .bash_profile

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native

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

HADOOP Unable to load native-hadoop library for your platform... using builtin-java classes where_第2张图片

source.bash_profile

hadoop checknative -a

HADOOP Unable to load native-hadoop library for your platform... using builtin-java classes where_第3张图片

你可能感兴趣的:(java,java,后端)