hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject hadoop git commit: YARN-4207. Add a non-judgemental YARN app completion status. Contributed by Rich Haase. (cherry picked from commit 0f708d465fbc4260f2c36e8067e27cd8b285fde7) (cherry picked from commit 433212ef878205b0c14e940dd660d1a6e8dc0238)
Date Wed, 16 Dec 2015 19:39:49 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 d3e1161b8 -> 7415870d1


YARN-4207. Add a non-judgemental YARN app completion status. Contributed by Rich Haase.
(cherry picked from commit 0f708d465fbc4260f2c36e8067e27cd8b285fde7)
(cherry picked from commit 433212ef878205b0c14e940dd660d1a6e8dc0238)

Conflicts:
	hadoop-yarn-project/CHANGES.txt


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7415870d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7415870d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7415870d

Branch: refs/heads/branch-2.8
Commit: 7415870d13abb418da7a85331be0f8c47ef01e35
Parents: d3e1161
Author: Siddharth Seth <sseth@apache.org>
Authored: Wed Dec 16 11:33:55 2015 -0800
Committer: Siddharth Seth <sseth@apache.org>
Committed: Wed Dec 16 11:39:37 2015 -0800

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                 | 2 ++
 .../apache/hadoop/yarn/api/records/FinalApplicationStatus.java  | 5 ++++-
 .../hadoop-yarn-api/src/main/proto/yarn_protos.proto            | 1 +
 3 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7415870d/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index e747522..cd84f6d 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 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/7415870d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/FinalApplicationStatus.java
----------------------------------------------------------------------
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 170c25a..783d7cb 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
 }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/7415870d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto
----------------------------------------------------------------------
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 09d2bd5..28ff576 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 {


Mime
View raw message