hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibinchund...@apache.org
Subject hadoop git commit: YARN-6703. RM startup failure with old state store due to version mismatch. Contributed by Varun Saxena
Date Mon, 12 Jun 2017 13:09:57 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 ae2457e1d -> 3f9acf65f


YARN-6703. RM startup failure with old state store due to version mismatch. Contributed by
Varun Saxena

(cherry picked from commit d64c842743da0d9d91c46985a9fd7350ea14b204)


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

Branch: refs/heads/branch-2
Commit: 3f9acf65fba63ddbfb8a98eb0d3455d703c027fc
Parents: ae2457e
Author: bibinchundatt <bibinchundatt@apache.org>
Authored: Mon Jun 12 18:06:08 2017 +0530
Committer: bibinchundatt <bibinchundatt@apache.org>
Committed: Mon Jun 12 18:32:23 2017 +0530

----------------------------------------------------------------------
 .../yarn/server/resourcemanager/recovery/ZKRMStateStore.java  | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/3f9acf65/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java
index 10ed880..c563e82 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java
@@ -144,6 +144,11 @@ import java.util.Set;
  * Also, AMRMToken has been removed from ApplicationAttemptState.
  *
  * Changes from 1.2 to 1.3, Addition of ReservationSystem state.
+ *
+ * Changes from 1.3 to 1.4 - Change the structure of application znode by
+ * splitting it in 2 parts, depending on a configurable split index. This limits
+ * the number of application znodes returned in a single call while loading
+ * app state.
  */
 @Private
 @Unstable
@@ -159,7 +164,7 @@ public class ZKRMStateStore extends RMStateStore {
   @VisibleForTesting
   public static final String ROOT_ZNODE_NAME = "ZKRMStateRoot";
   protected static final Version CURRENT_VERSION_INFO = Version
-      .newInstance(2, 0);
+      .newInstance(1, 4);
   @VisibleForTesting
   public static final String RM_APP_ROOT_HIERARCHIES = "HIERARCHIES";
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message