I am using CentOS and am trying to configure Hadoop Server and when I tried to run the start-dfs.sh command, I am receiving this warning as follows.
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
My current Hadoop version is Hadoop 2.2.0.
However, the contents of /native/ directory on Hadoop 2.x appear to be different so I am not sure what to do.
I have also made some changes in Hadoop-env.sh as follows:
export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=/usr/local/hadoop/lib/"
export HADOOP_COMMON_LIB_NATIVE_DIR="/usr/local/hadoop/lib/native/"
But this hardly helped. Let me know if you can help me out on this one.
Thank you