About this question
I installed Hadoop on the server running CentOs. As I run start-dfs.shor stop-dfs.sh I got the following error :
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
I am using the Hadoop 2.2.0 Version. In hadoop-env.sh I have also added these two environment variables.
export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=/usr/local/hadoop/lib/"
export HADOOP_COMMON_LIB_NATIVE_DIR="/usr/local/hadoop/lib/native/"
Getting the error “unable to load native hadoop library for your platform”.
Any solution to what I have to do?