Once Hadoop is installed, you will often be prompted with a warning:
WARN util. nativecodeloader:unable to load Native-hadoop library for your platform ...
Using Builtin-java classes where applicable
Searched a lot of articles, all say is related to the system bit number, I use CentOS 6.5 64-bit operating system.
The first two days in the Docker image to find a step to solve the problem, the pro tried, sure enough no longer prompt.
First download Hadoop-native-64-2.4.0.tar:
Http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64-2.4.0.tar
If you are hadoop2.6, you can download the following:
Http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64-2.6.0.tar
After downloading, unzip to the native directory of Hadoop, overwrite the original file. The operation is as follows:
Tar-x hadoop-native-64-2.4.0.tar-c hadoop/lib/native/