Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Big Data Hadoop
  3. Question
Big Data Hadoop

Hadoop “Unable To Load Native-Hadoop Library For Your Platform” Warning

Asked by Alex Gonzalez Nov 18, 2022 2.0K views 1 answer
Share

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?

Your answer

1 Answer

More Big Data Hadoop discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Big Data Hadoop Blogs

Guides, tips and career advice on Big Data Hadoop from JanBask experts.