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

测试:

 

posted on 2018-10-29 16:02  小明在线  阅读(4631)  评论(1编辑  收藏  举报

导航