From 110cf6b9a3b64cc2159e708967b854f5a419d438 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Fri, 13 Feb 2015 14:21:21 +0900 Subject: [PATCH] YARN-3182. Cleanup switch statement in ApplicationMasterLauncher#handle(). Contributed by Ray Chiang. --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../resourcemanager/amlauncher/ApplicationMasterLauncher.java | 1 + 2 files changed, 4 insertions(+) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 622072f5a7c..0e8a8e425af 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -292,6 +292,9 @@ Release 2.7.0 - UNRELEASED YARN-3179. Update use of Iterator to Iterable in RMAdminCLI and CommonNodeLabelsManager. (Ray Chiang via xgong) + YARN-3182. Cleanup switch statement in ApplicationMasterLauncher#handle(). + (Ray Chiang via ozawa) + OPTIMIZATIONS YARN-2990. FairScheduler's delay-scheduling always waits for node-local and diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/ApplicationMasterLauncher.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/ApplicationMasterLauncher.java index af02b198cf7..5fc39fd2efc 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/ApplicationMasterLauncher.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/ApplicationMasterLauncher.java @@ -117,6 +117,7 @@ public class ApplicationMasterLauncher extends AbstractService implements break; case CLEANUP: cleanup(application); + break; default: break; }