YARN-9166. Fix logging for preemption of Opportunistic containers for Guaranteed containers. Contributed by Abhishek Modi.

This commit is contained in:
Giovanni Matteo Fumarola 2019-01-04 11:16:41 -08:00
parent f4e18242bd
commit 6e35f7130f

View File

@ -518,7 +518,7 @@ private void reclaimOpportunisticContainerResources(Container container) {
// Kill the opportunistic containers that were chosen.
for (Container contToReclaim : extraOppContainersToReclaim) {
String preemptionAction = usePauseEventForPreemption == true ? "paused" :
"resumed";
"killed";
LOG.info(
"Container {} will be {} to start the "
+ "execution of guaranteed container {}.",