YARN-6360. Prevent FS state dump logger from cramming other log files

(Contributed by Yufei Gu via Daniel Templeton)

(cherry picked from commit d49d1862a6)
This commit is contained in:
Daniel Templeton 2017-03-24 11:29:20 -07:00
parent 96fe940e59
commit bbd08bb7a4
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ 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