From afdafb4bad6de47c75c57edfc2e53c9f7d487abd Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 9 Nov 2017 10:45:31 -0800 Subject: [PATCH] HBASE-19220 Async tests time out talking to zk; 'clusterid came back null' --- .../java/org/apache/hadoop/hbase/client/ZKAsyncRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKAsyncRegistry.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKAsyncRegistry.java index 259b6654ba2..9688ad3fbd0 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKAsyncRegistry.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKAsyncRegistry.java @@ -68,7 +68,7 @@ class ZKAsyncRegistry implements AsyncRegistry { ZKAsyncRegistry(Configuration conf) { this.znodePaths = new ZNodePaths(conf); int zkSessionTimeout = conf.getInt(ZK_SESSION_TIMEOUT, DEFAULT_ZK_SESSION_TIMEOUT); - int zkRetry = conf.getInt("zookeeper.recovery.retry", 3); + int zkRetry = conf.getInt("zookeeper.recovery.retry", 30); int zkRetryIntervalMs = conf.getInt("zookeeper.recovery.retry.intervalmill", 1000); this.zk = CuratorFrameworkFactory.builder() .connectString(ZKConfig.getZKQuorumServersString(conf)).sessionTimeoutMs(zkSessionTimeout)