The block state change logs are indeed too noisy at INFO and I've not found them useful when troubleshooting. Just filed HDFS-6860 to fix that.
This is orthogal to SLF4J migration however moving to SLF4J would help ease the transition to Log4j 2. Thanks for the pointer to HDFS-5421 Aaron, looking into it. On Sat, Aug 16, 2014 at 5:07 AM, Steve Loughran <ste...@hortonworks.com> wrote: > On 15 August 2014 17:20, Karthik Kambatla <ka...@cloudera.com> wrote: > > > However, IMO we already log too much at INFO level (particularly YARN). > > Logging more at DEBUG level and lowering the overhead of enabling DEBUG > > logging is preferable. > > > > +1 > > This is the log4j properties file I've adopted for minicluster debugging, > HDFS is pretty noisy these days too. BlockStateChange, for example. Then > there's Zookeeper > > > > log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR > > log4j.logger.org.apache.hadoop.hdfs.server.datanode.BlockPoolSliceScanner=WARN > log4j.logger.org.apache.hadoop.hdfs.server.blockmanagement=WARN > log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=WARN > log4j.logger.org.apache.hadoop.hdfs=WARN > log4j.logger.BlockStateChange=WARN > > > log4j.logger.org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor=WARN > > log4j.logger.org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl=WARN > log4j.logger.org.apache.zookeeper=WARN > log4j.logger.org.apache.zookeeper.ClientCnxn=FATAL > > log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.security=WARN > log4j.logger.org.apache.hadoop.metrics2=ERROR > log4j.logger.org.apache.hadoop.util.HostsFileReader=WARN > log4j.logger.org.apache.hadoop.yarn.event.AsyncDispatcher=WARN > log4j.logger.org.apache.hadoop.security.token.delegation=WARN > log4j.logger.org.apache.hadoop.yarn.util.AbstractLivelinessMonitor=WARN > log4j.logger.org.apache.hadoop.yarn.server.nodemanager.security=WARN > log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.RMNMInfo=WARN > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.