YARN-3182. Cleanup switch statement in ApplicationMasterLauncher#handle(). Contributed by Ray Chiang.

This commit is contained in:
Tsuyoshi Ozawa 2015-02-13 14:21:21 +09:00
parent b0d81e05ab
commit 110cf6b9a3
2 changed files with 4 additions and 0 deletions

View File

@ -292,6 +292,9 @@ Release 2.7.0 - UNRELEASED
YARN-3179. Update use of Iterator to Iterable in RMAdminCLI and YARN-3179. Update use of Iterator to Iterable in RMAdminCLI and
CommonNodeLabelsManager. (Ray Chiang via xgong) CommonNodeLabelsManager. (Ray Chiang via xgong)
YARN-3182. Cleanup switch statement in ApplicationMasterLauncher#handle().
(Ray Chiang via ozawa)
OPTIMIZATIONS OPTIMIZATIONS
YARN-2990. FairScheduler's delay-scheduling always waits for node-local and YARN-2990. FairScheduler's delay-scheduling always waits for node-local and

View File

@ -117,6 +117,7 @@ public synchronized void handle(AMLauncherEvent appEvent) {
break; break;
case CLEANUP: case CLEANUP:
cleanup(application); cleanup(application);
break;
default: default:
break; break;
} }