在安装Hadoop伪分布环境后,执行相关命令(例如:bin/hdfs dfs -ls)会出现
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable,这是因为安装的navtive包和平台不匹配的缘故,需要重新编译Hadoop源码包,然后将navtive包进行替换
时间: 2024-10-13 10:52:28