accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [3/6] accumulo git commit: ACCUMULO-3340 Restrict ZooKeeper binding in MAC
Date Mon, 17 Nov 2014 18:48:54 GMT
ACCUMULO-3340 Restrict ZooKeeper binding in MAC

  Forces ZooKeeper to bind only to 127.0.0.1 in MiniAccumuloCluster,
  instead of the default, which is to bind to all interfaces.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1835c27c
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1835c27c
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1835c27c

Branch: refs/heads/master
Commit: 1835c27ca41426ddd570cde14f9612c45680b917
Parents: a8a6b15
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Mon Nov 17 13:40:00 2014 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Mon Nov 17 13:40:00 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1835c27c/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
index f839f39..53f51f7 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
@@ -296,6 +296,7 @@ public class MiniAccumuloCluster {
     zooCfg.setProperty("tickTime", "1000");
     zooCfg.setProperty("initLimit", "10");
     zooCfg.setProperty("syncLimit", "5");
+    zooCfg.setProperty("clientPortAddress", "127.0.0.1");
     zooCfg.setProperty("clientPort", zooKeeperPort + "");
     zooCfg.setProperty("maxClientCnxns", "100");
     zooCfg.setProperty("dataDir", zooKeeperDir.getAbsolutePath());


Mime
View raw message