YARN-9166. Fix logging for preemption of Opportunistic containers for Guaranteed containers. Contributed by Abhishek Modi.
This commit is contained in:
parent
f4e18242bd
commit
6e35f7130f
|
@ -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 {}.",
|
||||
|
|
Loading…
Reference in New Issue