I installed Hadoop 2.7.2 single node in Ubuntu and I want to run the java wordcount program. Compiling and creating the jar file is successful, but when I run the jar file on Hadoop, I get this message:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
I set the environment variables by editing the .bashrc file:
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib
When I type hasoop checknative -a, I get the following:
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
Hadoop Version: 2.7.2
Ubuntu Version: 14.04
Can someone give some clues on this issue?
source share