WARN util. nativecodeloader:unable to load Native-hadoop library for your platform ... using Builtin-java classes where applicable
There are many ways to refer to the Internet, No.
The warning always felt uncomfortable.
The recent deployment of spark was solved by the passing of.
The URL reference is as follows "
Http://www.mak-blog.com/spark-on-yarn-setup-multinode.html
First, the commonly compiled Hadoop library is in Lib, if you do not want to compile, you can use the lib/native inside the precompiled library, and then move the native library to the Lib folder.
CP hadoop-2.6.0/lib/native/* hadoop-2.6.0/lib/
Second, add the system variable
Export Hadoop_common_lib_native_dir=/home/administrator/work/hadoop-2.6.0/lib/nativeexport HADOOP_OPTS= "- Djava.library.path=/home/administrator/work/hadoop-2.6.0/lib "Export Hadoop_root_logger=debug,console
Finally: Done.
Hadoop:warn util. nativecodeloader:unable to load Native-hadoop library for your platform ... using Builtin-java classes where applicable finally solution Have decided