简体   繁体   中英

Unable to load native-hadoop library for your platform… using builtin-java classes where applicable

I have completed configured hadoop in Centos 6,64-bit using eclipse IDE, and created 3 classes of java like Mapper,Reducer and Driver.. but when I run my programme on hadoop it throws following exception:

14/04/28 15:03:39 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/04/28 15:03:39 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
14/04/28 15:03:39 WARN mapred.JobClient: No job jar file set.  User classes may not be found. See JobConf(Class) or JobConf#setJar(String).

I have checked this link too, Hadoop "Unable to load native-hadoop library for your platform" warning but unfortunately I couldn't understand yet.

As Praveen pointed out, this is a warning and not an exception. The reason for this warning is that the native library is compiled for 32bit by default. If you want to get rid of the warning, you have to compile hadoop from source on a 64bit system and use the resulting library. The binary can be found in lib/native .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM