From 2e9381a839ebfec3d048684d11e642e387a287f1 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 23 Oct 2018 13:01:39 -0700 Subject: [PATCH] HBASE-21372) Set hbase.assignment.maximum.attempts to Long.MAX Signed-off-by: Duo Zhang Signed-off-by: Allan Yang --- .../hadoop/hbase/master/assignment/AssignmentManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java index 49fe93a0ae1..d3976e82084 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java @@ -137,7 +137,7 @@ public class AssignmentManager implements ServerListener { public static final String ASSIGN_MAX_ATTEMPTS = "hbase.assignment.maximum.attempts"; - private static final int DEFAULT_ASSIGN_MAX_ATTEMPTS = 10; + private static final int DEFAULT_ASSIGN_MAX_ATTEMPTS = Integer.MAX_VALUE; /** Region in Transition metrics threshold time */ public static final String METRICS_RIT_STUCK_WARNING_THRESHOLD =