when键入命令: hadoop fs -ls /
若出现以下警告信息:
Hadoop警告问题:WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where
解决方案:找到Hadoop配置文件log4j.properties,末尾添加:log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR