YARN-9308. fairscheduler-statedump.log gets generated regardless of service again after the merge of HDFS-7240. Contributed by Wilfred Spiegelenburg.
This commit is contained in:
parent
2d83b24994
commit
dabfeab785
|
@ -299,17 +299,6 @@ log4j.appender.EWMA.cleanupInterval=${yarn.ewma.cleanupInterval}
|
|||
log4j.appender.EWMA.messageAgeLimitSeconds=${yarn.ewma.messageAgeLimitSeconds}
|
||||
log4j.appender.EWMA.maxUniqueMessages=${yarn.ewma.maxUniqueMessages}
|
||||
|
||||
|
||||
# Fair scheduler requests log on state dump
|
||||
log4j.logger.org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.statedump=DEBUG,FSLOGGER
|
||||
log4j.additivity.org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.statedump=false
|
||||
log4j.appender.FSLOGGER=org.apache.log4j.RollingFileAppender
|
||||
log4j.appender.FSLOGGER.File=${hadoop.log.dir}/fairscheduler-statedump.log
|
||||
log4j.appender.FSLOGGER.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.FSLOGGER.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
||||
log4j.appender.FSLOGGER.MaxFileSize=${hadoop.log.maxfilesize}
|
||||
log4j.appender.FSLOGGER.MaxBackupIndex=${hadoop.log.maxbackupindex}
|
||||
|
||||
#
|
||||
# Fair scheduler state dump
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue