标签:hadoop 输出日志 log4j eclipse mapreduce
问题描述:在eclipse下运行hadoop项目,没有输出日志,警告如下,意为没有找到log4j文件。
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.
问题解决:
-Dlog4j.configuration=file:/home/asin/WorkSpace/Eclipse_WorkSpace/examples/log4j.properties
标签:hadoop 输出日志 log4j eclipse mapreduce
原文地址:http://blog.csdn.net/u012948976/article/details/46374953