YARN-2159. Better logging in SchedulerNode#allocateContainer. (Ray Chiang via kasha)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1603011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Karthik Kambatla 2014-06-16 22:18:40 +00:00
parent a2aebb4b28
commit ce88f5d63a
2 changed files with 5 additions and 2 deletions

View File

@ -149,6 +149,9 @@ Release 2.5.0 - UNRELEASED
YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug
level. (Wangda Tan via jianhe) level. (Wangda Tan via jianhe)
YARN-2159. Better logging in SchedulerNode#allocateContainer.
(Ray Chiang via kasha)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -130,9 +130,9 @@ public abstract class SchedulerNode {
LOG.info("Assigned container " + container.getId() + " of capacity " LOG.info("Assigned container " + container.getId() + " of capacity "
+ container.getResource() + " on host " + rmNode.getNodeAddress() + container.getResource() + " on host " + rmNode.getNodeAddress()
+ ", which currently has " + numContainers + " containers, " + ", which has " + numContainers + " containers, "
+ getUsedResource() + " used and " + getAvailableResource() + getUsedResource() + " used and " + getAvailableResource()
+ " available"); + " available after allocation");
} }
/** /**