YARN-9594. Fix missing break statement in ContainerScheduler#handle. Contributed by lujie.

This commit is contained in:
bibinchundatt 2019-06-11 22:49:21 +05:30
parent f7df55f4a8
commit 6d80b9bc3f

View File

@ -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());