标签:
log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
解决办法:
将/usr/local/hadoop/etc/hadoop下的log4j.properties文件复制到项目的src文件夹下,运行即可。
在eclipse中运行wordcount,控制台打印log4j警告
标签:
原文地址:http://www.cnblogs.com/qinwangchen/p/5289196.html