ACCUMULO-3468 Increase zk timeout in MonitorUtil. Causes troubles in MonitorLoggingIT from being too low.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/02142ff4 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/02142ff4 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/02142ff4 Branch: refs/heads/master Commit: 02142ff4154e81d9d0e355470a9e0780c7c3ada0 Parents: 64567e7 Author: Josh Elser <els...@apache.org> Authored: Fri Jan 9 13:00:44 2015 -0500 Committer: Josh Elser <els...@apache.org> Committed: Fri Jan 9 14:41:31 2015 -0500 ---------------------------------------------------------------------- core/src/main/java/org/apache/accumulo/core/util/MonitorUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/02142ff4/core/src/main/java/org/apache/accumulo/core/util/MonitorUtil.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/util/MonitorUtil.java b/core/src/main/java/org/apache/accumulo/core/util/MonitorUtil.java index 2726aeb..309f323 100644 --- a/core/src/main/java/org/apache/accumulo/core/util/MonitorUtil.java +++ b/core/src/main/java/org/apache/accumulo/core/util/MonitorUtil.java @@ -26,7 +26,7 @@ import org.apache.zookeeper.KeeperException; public class MonitorUtil { public static String getLocation(Instance instance) throws KeeperException, InterruptedException { - ZooReader zr = new ZooReader(instance.getZooKeepers(), 5000); + ZooReader zr = new ZooReader(instance.getZooKeepers(), 30000); byte[] loc = zr.getData(ZooUtil.getRoot(instance) + Constants.ZMONITOR_HTTP_ADDR, null); return loc == null ? null : new String(loc, UTF_8); }