测试环境:
Hadoop 2.6.0-cdh5.7.1
apache-kylin-2.0.0-bin
kylin运行check-env.sh时,报如下警告:
WARN util.NativeCodeLoader: 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
为了安全,请先备份native下的所有文件
mv /opt/bigdata/hadoop/lib/native /
tar -xvf /opt/hadoop-native-64-2.6.0.tar -C /opt/bigdata/hadoop/lib/native
然后重启hadoop。