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

今天在用mr 生成HFile文件,在执行jar 的时候出现一个错误:

 

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

解决办法:

wget http://dl.bintray.com/sequenceiq/sequenceiq-bin/hadoop-native-64-2.6.0.tar

或者:http://dl.bintray.com/sequenceiq/sequenceiq-bin/

版本根据自己实际情况选择

解压:

tar xvf hadoop-native-64-2.6.0.tar  -C  /opt/hadoop-2.6.0-cdh5.4.7/lib/native/

重启集群服务:

 

posted @ 2016-06-14 16:15  zhanggl  阅读(333)  评论(0编辑  收藏  举报