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 @@ private void reclaimOpportunisticContainerResources(Container container) {
|
|||||||
// Kill the opportunistic containers that were chosen.
|
// Kill the opportunistic containers that were chosen.
|
||||||
for (Container contToReclaim : extraOppContainersToReclaim) {
|
for (Container contToReclaim : extraOppContainersToReclaim) {
|
||||||
String preemptionAction = usePauseEventForPreemption == true ? "paused" :
|
String preemptionAction = usePauseEventForPreemption == true ? "paused" :
|
||||||
"resumed";
|
"killed";
|
||||||
LOG.info(
|
LOG.info(
|
||||||
"Container {} will be {} to start the "
|
"Container {} will be {} to start the "
|
||||||
+ "execution of guaranteed container {}.",
|
+ "execution of guaranteed container {}.",
|
||||||
|
Loading…
Reference in New Issue
Block a user