diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index e747522c58a..cd84f6dd00b 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -562,6 +562,8 @@ Release 2.8.0 - UNRELEASED YARN-4066. Large number of queues choke fair scheduler. (Johan Gustavsson via kasha) + YARN-4207. Add a non-judgemental YARN app completion status. (Rich Haase via sseth) + BUG FIXES YARN-3197. Confusing log generated by CapacityScheduler. (Varun Saxena diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/FinalApplicationStatus.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/FinalApplicationStatus.java index 170c25ae845..783d7cb0321 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/FinalApplicationStatus.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/FinalApplicationStatus.java @@ -38,5 +38,8 @@ public enum FinalApplicationStatus { FAILED, /** Application which was terminated by a user or admin. */ - KILLED + KILLED, + + /** Application which has subtasks with multiple end states. */ + ENDED } diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto index 09d2bd50380..28ff5762919 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto @@ -131,6 +131,7 @@ enum FinalApplicationStatusProto { APP_SUCCEEDED = 1; APP_FAILED = 2; APP_KILLED = 3; + APP_ENDED = 4; } message URLProto {