From d49d1862a645b8c5d3eae95bf633bc82816f0168 Mon Sep 17 00:00:00 2001 From: Daniel Templeton Date: Fri, 24 Mar 2017 11:29:20 -0700 Subject: [PATCH] YARN-6360. Prevent FS state dump logger from cramming other log files (Contributed by Yufei Gu via Daniel Templeton) --- .../hadoop-common/src/main/conf/log4j.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties b/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties index 60267635df..b4658ae7da 100644 --- a/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties +++ b/hadoop-common-project/hadoop-common/src/main/conf/log4j.properties @@ -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