YARN-4207. Add a non-judgemental YARN app completion status. Contributed by Rich Haase.

(cherry picked from commit 0f708d465f)
This commit is contained in:
Siddharth Seth 2015-12-16 11:33:55 -08:00
parent e8e3737ce8
commit 433212ef87
3 changed files with 7 additions and 1 deletions

View File

@ -567,6 +567,8 @@ Release 2.8.0 - UNRELEASED
YARN-4418. AM Resource Limit per partition can be updated to ResourceUsage as well. YARN-4418. AM Resource Limit per partition can be updated to ResourceUsage as well.
(Sunil G via wangda) (Sunil G via wangda)
YARN-4207. Add a non-judgemental YARN app completion status. (Rich Haase via sseth)
OPTIMIZATIONS OPTIMIZATIONS
YARN-3339. TestDockerContainerExecutor should pull a single image and not YARN-3339. TestDockerContainerExecutor should pull a single image and not

View File

@ -38,5 +38,8 @@ public enum FinalApplicationStatus {
FAILED, FAILED,
/** Application which was terminated by a user or admin. */ /** Application which was terminated by a user or admin. */
KILLED KILLED,
/** Application which has subtasks with multiple end states. */
ENDED
} }

View File

@ -131,6 +131,7 @@ enum FinalApplicationStatusProto {
APP_SUCCEEDED = 1; APP_SUCCEEDED = 1;
APP_FAILED = 2; APP_FAILED = 2;
APP_KILLED = 3; APP_KILLED = 3;
APP_ENDED = 4;
} }
message URLProto { message URLProto {