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
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ public class ContainerScheduler extends AbstractService implements
// 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 {}.",