


If this doesn’t resolve, please try next step below. # (OR) If you have hadoop library installed at /usr/lib/Įxport LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native bashrc file and reload the library into the current session using source ~/.bashrcĮxport LD_LIBRARY_PATH=$HADOOP_HOME/lib/native Solution 3: Add Hadoop Native Library to OS Shared LibraryĪdded Hadoop native library to LD_LIBRARY_PATH on. This should resolve your issue, if not please try below step. Now reload the environment variables by running source command. You would be getting this warning if you miss setting up Hadoop library environment variables.īefore proceed, make sure you have $HADOOP_HOME with the hadoop installation directory.Īdded below environment variables, on top of what you already have.Įxport HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/nativeĮxport HADOOP_OPTS="$HADOOP_OPTS =$HADOOP_HOME/lib/native" Solution 2: Update Hadoop Environment variables If you wanted to continue, follow the below link for the steps of how to re-build the library on Ubuntu. Here, I am using 64 bit Hadoop library, If you already have 64 bit Hadoop library or If you feel this is too much, please skip this section and move on to the next.

Ldd $HADOOP_HOME/lib/native/libhadoop.so.1.0.0 You can check the version of Hadoop library by running below commands
