From 94c1cf2ff2978f95c6bc461fdd23d8b76a6cddf6 Mon Sep 17 00:00:00 2001 From: bibinchundatt Date: Tue, 11 Jun 2019 22:49:21 +0530 Subject: [PATCH] YARN-9594. Fix missing break statement in ContainerScheduler#handle. Contributed by lujie. (cherry picked from commit 6d80b9bc3ff3ba8073e3faf64551b9109d2aa2ad) Conflicts: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java (cherry picked from commit 4a39165b41dc079dd2de140e610255f363982f59) --- .../containermanager/scheduler/ContainerScheduler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java index 5d6f2e3da02..73ae899226b 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java @@ -174,6 +174,7 @@ public class ContainerScheduler extends AbstractService implements break; case RECOVERY_COMPLETED: startPendingContainers(maxOppQueueLength <= 0); + break; default: LOG.error("Unknown event arrived at ContainerScheduler: " + event.toString());