title: Hadoop: Unable to load native-hadoop library for your platform
body: <p>I've installed Hadoop 2.7.2 single node on Ubuntu and I want to run the java wordcount program. The compilation and the creation of the jar file are done succesfully, but when I run the jar file on Hadoop I receive this message:</p>
  
  <pre><code>WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
  </code></pre>
  
  <p>I set environment variables by editing .bashrc file:</p>
  
  <pre><code>export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib
  </code></pre>
  
  <p>When I type hadoop checknative -a I get this:</p>
  
  <pre><code>hadoop: true /usr/local/hadoop/lib/native/libhadoop.so.1.0.0
  zlib: true /lib/x86_64-linux-gnu/libz.so.1
  snappy: false 
  lz4: true revision:99
  bzip2: false
  openssl: true /usr/lib/x86_64-linux-gnu/libcrypto.so
  
  16/05/09 00:48:53 INFO util.ExitUtil: Exiting with status 1
  </code></pre>
  
  <p>Hadoop version: 2.7.2</p>
  
  <p>Ubuntu version: 14.04</p>
  
  <p>Could anyone give some clues about the issue?</p>