hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [09/49] hadoop git commit: YARN-8988. Reduce the verbose log on RM heartbeat path when distributed node-attributes is enabled. Contributed by Tao Yang.
Date Tue, 13 Nov 2018 07:50:36 GMT
YARN-8988. Reduce the verbose log on RM heartbeat path when distributed node-attributes is
enabled. Contributed by Tao Yang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e1bbf7dc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e1bbf7dc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e1bbf7dc

Branch: refs/heads/HDFS-13891
Commit: e1bbf7dcdfc30a61a2b10bef09c59ff17d290488
Parents: f8c72d7
Author: Weiwei Yang <wwei@apache.org>
Authored: Thu Nov 8 17:47:18 2018 +0800
Committer: Weiwei Yang <wwei@apache.org>
Committed: Thu Nov 8 17:47:18 2018 +0800

----------------------------------------------------------------------
 .../resourcemanager/nodelabels/NodeAttributesManagerImpl.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e1bbf7dc/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/NodeAttributesManagerImpl.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/NodeAttributesManagerImpl.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/NodeAttributesManagerImpl.java
index e524788..83c5983 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/NodeAttributesManagerImpl.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/NodeAttributesManagerImpl.java
@@ -221,8 +221,10 @@ public class NodeAttributesManagerImpl extends NodeAttributesManager
{
 
       // Notify RM
       if (rmContext != null && rmContext.getDispatcher() != null) {
-        LOG.info("Updated NodeAttribute event to RM:" + newNodeToAttributesMap
-            .values());
+        if (LOG.isDebugEnabled()) {
+          LOG.debug("Updated NodeAttribute event to RM:"
+              + newNodeToAttributesMap.values());
+        }
         rmContext.getDispatcher().getEventHandler().handle(
             new NodeAttributesUpdateSchedulerEvent(newNodeToAttributesMap));
       }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message