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

(cherry picked from commit 0f708d465f)
(cherry picked from commit 433212ef87)

Conflicts:
	hadoop-yarn-project/CHANGES.txt
This commit is contained in:
Siddharth Seth 2015-12-16 11:33:55 -08:00
parent d3e1161b8d
commit 7415870d13
3 changed files with 7 additions and 1 deletions

View File

@ -562,6 +562,8 @@ Release 2.8.0 - UNRELEASED
YARN-4066. Large number of queues choke fair scheduler. YARN-4066. Large number of queues choke fair scheduler.
(Johan Gustavsson via kasha) (Johan Gustavsson via kasha)
YARN-4207. Add a non-judgemental YARN app completion status. (Rich Haase via sseth)
BUG FIXES BUG FIXES
YARN-3197. Confusing log generated by CapacityScheduler. (Varun Saxena YARN-3197. Confusing log generated by CapacityScheduler. (Varun Saxena

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 {