After I put the hadoop is configured, test the upload files to the HDFS, results submitted to the following error:
WARN util. NativeCodeLoader: Unable to load the native - hadoop library for your platform... Using the builtin - Java classes where applicable
Don't know how to solve, strives for the great god give directions! Thank you very much!
/root @ hadoop01 ~ # hadoop fs - put/root/testhdfs HDFS://hadoop01:9000/JDK
15/08/04 07:55:19 WARN util. NativeCodeLoader: Unable to load the native - hadoop library for your platform... Using the builtin - Java classes where applicable
CodePudding user response:
Centos is 32-bit, hadoop version is hadoop - against 2.4.1CodePudding user response:
Is supposed to be missing and your operating system corresponding to the local library, in the bin directory to own that don't know what is corresponding to the operating system'sCentos I don't know, I was in was running under Windows, I compile the hadoop. DLL and winutils exe
CodePudding user response:
Or you download the source code to compile a line, he will be a full set of compiledCodePudding user response:
You can refer to this article, I just according to this article solve the http://blog.csdn.net/l1028386804/article/details/51538611CodePudding user response:
This is a warning message, can take out, in print log will be warned to fault,log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR