From b155c62f38d6560d64529a435767a057924232b6 Mon Sep 17 00:00:00 2001 From: Peter Somogyi Date: Wed, 28 Oct 2020 18:08:05 +0100 Subject: [PATCH] HBASE-25224 Maximize sleep for checking meta and namespace regions availability (#2593) Signed-off-by: Michael Stack --- .../src/main/java/org/apache/hadoop/hbase/master/HMaster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java index 31c1c60ee6b..57a5567ca2a 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java @@ -1228,7 +1228,7 @@ public class HMaster extends HRegionServer implements MasterServices { ri.getRegionNameAsString(), rs, optProc.isPresent()); // Check once-a-minute. if (rc == null) { - rc = new RetryCounterFactory(1000).create(); + rc = new RetryCounterFactory(Integer.MAX_VALUE, 1000, 60_000).create(); } Threads.sleep(rc.getBackoffTimeAndIncrementAttempts()); }