hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiboc...@apache.org
Subject [01/50] [abbrv] hadoop git commit: YARN-6493. Print requested node partition in assignContainer logs. (Jonathan Hung via wangda) [Forced Update!]
Date Wed, 31 May 2017 22:42:36 GMT
Repository: hadoop
Updated Branches:
  refs/heads/YARN-1011 6b65947e4 -> 153498bc3 (forced update)


YARN-6493. Print requested node partition in assignContainer logs. (Jonathan Hung via wangda)

Change-Id: Ib20326daac10acad363befb0ae0998441fa5b32d


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

Branch: refs/heads/YARN-1011
Commit: 8e0f83e49a8987cf45a72c8a9bb8587b86e4c0ed
Parents: c583ab0
Author: Wangda Tan <wangda@apache.org>
Authored: Mon May 22 14:28:55 2017 -0700
Committer: Wangda Tan <wangda@apache.org>
Committed: Mon May 22 14:28:55 2017 -0700

----------------------------------------------------------------------
 .../capacity/allocator/AbstractContainerAllocator.java         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8e0f83e4/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/allocator/AbstractContainerAllocator.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/scheduler/capacity/allocator/AbstractContainerAllocator.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/allocator/AbstractContainerAllocator.java
index a411f17..5809d86 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/allocator/AbstractContainerAllocator.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/allocator/AbstractContainerAllocator.java
@@ -126,7 +126,9 @@ public abstract class AbstractContainerAllocator {
         LOG.info("assignedContainer" + " application attempt=" + application
             .getApplicationAttemptId() + " container=" + updatedContainer
             .getContainerId() + " queue=" + this + " clusterResource="
-            + clusterResource + " type=" + assignment.getType());
+            + clusterResource + " type=" + assignment.getType()
+            + " requestedPartition="
+            + updatedContainer.getNodeLabelExpression());
 
         assignment.getAssignmentInformation().addAllocationDetails(
             updatedContainer, application.getCSLeafQueue().getQueuePath());
@@ -183,4 +185,4 @@ public abstract class AbstractContainerAllocator {
   public abstract CSAssignment assignContainers(Resource clusterResource,
       PlacementSet<FiCaSchedulerNode> ps, SchedulingMode schedulingMode,
       ResourceLimits resourceLimits, RMContainer reservedContainer);
-}
\ 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