This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-uno.git
The following commit(s) were added to refs/heads/master by this push:
new 9039a22 Update default zoo.cfg for ZooKeeper 3.5 (#245)
9039a22 is described below
commit 9039a22c039ad41ecf980b29fb392ad79f8dc1a3
Author: Christopher Tubbs <[email protected]>
AuthorDate: Mon Apr 6 14:13:30 2020 -0400
Update default zoo.cfg for ZooKeeper 3.5 (#245)
Add useful four-letter-word commands by default to ZooKeeper's
config file (zoo.cfg) and disable the built-in Admin Server,
which listens by default on port 8080.
---
conf/zookeeper/zoo.cfg | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/conf/zookeeper/zoo.cfg b/conf/zookeeper/zoo.cfg
index a0cd982..ddbce03 100644
--- a/conf/zookeeper/zoo.cfg
+++ b/conf/zookeeper/zoo.cfg
@@ -15,3 +15,7 @@ clientPort=2181
# the maximum number of client connections.
# increase this if you need to handle more clients
maxClientCnxns=100
+# whitelist a few useful four-letter-word commands
+4lw.commands.whitelist=mntr,stat,ruok,wchs
+# disable the admin server listening on 8080 by default
+admin.enableServer=false