hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject hadoop git commit: YARN-7727. Incorrect log levels in few logs with QueuePriorityContainerCandidateSelector. Contributed by Prabhu Joseph.
Date Fri, 12 Jan 2018 10:27:11 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.9 fff7f77c9 -> 4e28aa4dc


YARN-7727. Incorrect log levels in few logs with QueuePriorityContainerCandidateSelector.
Contributed by Prabhu Joseph.

(cherry picked from commit 128d773a2315fa6baaa3a52b13c53c77e741b69c)


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

Branch: refs/heads/branch-2.9
Commit: 4e28aa4dcfe5b880e31a91bf5a9d1f214447ee03
Parents: fff7f77
Author: Sunil G <sunilg@apache.org>
Authored: Fri Jan 12 15:41:19 2018 +0530
Committer: Sunil G <sunilg@apache.org>
Committed: Fri Jan 12 15:57:04 2018 +0530

----------------------------------------------------------------------
 .../QueuePriorityContainerCandidateSelector.java         | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4e28aa4d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/QueuePriorityContainerCandidateSelector.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/monitor/capacity/QueuePriorityContainerCandidateSelector.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/QueuePriorityContainerCandidateSelector.java
index 5f9f1eb..4b6700a 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/QueuePriorityContainerCandidateSelector.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/QueuePriorityContainerCandidateSelector.java
@@ -118,8 +118,9 @@ public class QueuePriorityContainerCandidateSelector
   }
 
   private void intializePriorityDigraph() {
-    LOG.info("Initializing priority preemption directed graph:");
-
+    if (LOG.isDebugEnabled()) {
+      LOG.debug("Initializing priority preemption directed graph:");
+    }
     // Make sure we iterate all leaf queue combinations
     for (String q1 : preemptionContext.getLeafQueueNames()) {
       for (String q2 : preemptionContext.getLeafQueueNames()) {
@@ -148,12 +149,12 @@ public class QueuePriorityContainerCandidateSelector
           if (p1 < p2) {
             priorityDigraph.put(q2, q1, true);
             if (LOG.isDebugEnabled()) {
-              LOG.info("- Added priority ordering edge: " + q2 + " >> " + q1);
+              LOG.debug("- Added priority ordering edge: " + q2 + " >> " + q1);
             }
           } else if (p2 < p1) {
             priorityDigraph.put(q1, q2, true);
             if (LOG.isDebugEnabled()) {
-              LOG.info("- Added priority ordering edge: " + q1 + " >> " + q2);
+              LOG.debug("- Added priority ordering edge: " + q1 + " >> " + q2);
             }
           }
         }
@@ -508,4 +509,4 @@ public class QueuePriorityContainerCandidateSelector
 
     return selectedCandidates;
   }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
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