diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 3829164627f..55e9e327f8c 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -106,6 +106,9 @@ Release 2.0.3-alpha - Unreleased YARN-184. Remove unnecessary locking in fair scheduler, and address findbugs excludes. (sandyr via tucu) + YARN-224. Fair scheduler logs too many nodeUpdate INFO messages. + (Sandy Ryza via tomwhite) + Release 2.0.2-alpha - 2012-09-07 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java index de5de41894f..f1921adf977 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java @@ -723,7 +723,9 @@ public class FairScheduler implements ResourceScheduler { private synchronized void nodeUpdate(RMNode nm, List newlyLaunchedContainers, List completedContainers) { - LOG.info("nodeUpdate: " + nm + " cluster capacity: " + clusterCapacity); + if (LOG.isDebugEnabled()) { + LOG.debug("nodeUpdate: " + nm + " cluster capacity: " + clusterCapacity); + } eventLog.log("HEARTBEAT", nm.getHostName()); FSSchedulerNode node = nodes.get(nm.getNodeID());