From bb4a9d335f3eb9cc48d757f97d94aa388c8203fb 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 86d3983c567..58a805334f3 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 @@ -1253,7 +1253,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()); }