YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug level. Contributed by Wangda Tan
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1601980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
710a8693e5
commit
c6e29a9f06
|
@ -158,6 +158,9 @@ Release 2.5.0 - UNRELEASED
|
|||
YARN-2091. Add more values to ContainerExitStatus and pass it from NM to
|
||||
RM and then to app masters (Tsuyoshi OZAWA via bikas)
|
||||
|
||||
YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug
|
||||
level. (Wangda Tan via jianhe)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -208,7 +208,9 @@ public class ProportionalCapacityPreemptionPolicy implements SchedulingEditPolic
|
|||
Map<ApplicationAttemptId,Set<RMContainer>> toPreempt =
|
||||
getContainersToPreempt(queues, clusterResources);
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
logToCSV(queues);
|
||||
}
|
||||
|
||||
// if we are in observeOnly mode return before any action is taken
|
||||
if (observeOnly) {
|
||||
|
@ -608,7 +610,7 @@ public class ProportionalCapacityPreemptionPolicy implements SchedulingEditPolic
|
|||
sb.append(", ");
|
||||
tq.appendLogString(sb);
|
||||
}
|
||||
LOG.info(sb.toString());
|
||||
LOG.debug(sb.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue