|
@@ -208,7 +208,9 @@ public class ProportionalCapacityPreemptionPolicy implements SchedulingEditPolic
|
|
|
Map<ApplicationAttemptId,Set<RMContainer>> toPreempt =
|
|
|
getContainersToPreempt(queues, clusterResources);
|
|
|
|
|
|
- logToCSV(queues);
|
|
|
+ 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());
|
|
|
}
|
|
|
|
|
|
/**
|