使用apache hadoop 2.6.0。当我想从工作经历中看到stderr时,我总是得到
log4j:WARN No appenders could be found for logger (org.apache.hadoop.ipc.Server).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
我试过这些东西:
log4j.logger.org.apache.hadoop.ipc.Server = INFO
。仍然难怪。有什么想法吗?