YARN-9594. Fix missing break statement in ContainerScheduler#handle. Contributed by lujie.
This commit is contained in:
parent
f7df55f4a8
commit
6d80b9bc3f
@ -190,6 +190,7 @@ public void handle(ContainerSchedulerEvent event) {
|
|||||||
startPendingContainers(maxOppQueueLength <= 0);
|
startPendingContainers(maxOppQueueLength <= 0);
|
||||||
metrics.setQueuedContainers(queuedOpportunisticContainers.size(),
|
metrics.setQueuedContainers(queuedOpportunisticContainers.size(),
|
||||||
queuedGuaranteedContainers.size());
|
queuedGuaranteedContainers.size());
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
LOG.error("Unknown event arrived at ContainerScheduler: "
|
LOG.error("Unknown event arrived at ContainerScheduler: "
|
||||||
+ event.toString());
|
+ event.toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user