hadoop命令运行,去除:WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform 警告
参照:Hadoop之—— WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...
修改:/home/komean/workspace/hadoop/hadoop-2.7.7/etc/hadoop/log4j.properties 文件, 添加如下:
log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR
测试: