pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [incubator-pulsar] branch master updated: [conf] add zookeeper admin server settings to the configuration files (#2331)
Date Sat, 11 Aug 2018 00:36:02 GMT
This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 2796431  [conf] add zookeeper admin server settings to the configuration files (#2331)
2796431 is described below

commit 27964313bd26b71e8014dc0e168d4ffbde15a12f
Author: Sijie Guo <guosijie@gmail.com>
AuthorDate: Fri Aug 10 17:35:59 2018 -0700

    [conf] add zookeeper admin server settings to the configuration files (#2331)
    
    ### Motivation
    
    Fixes 2324
    
    zookeeper 3.5 version introduces admin server. by default it starts at 8080.
    
     ### Changes
    
    Add admin server related settings to zookeeper configuration so people can configure them.
    Change the default settings to 9990. To avoid conflicts with existing ports used by Prometheus
for bookie/broker.
---
 conf/global_zookeeper.conf | 5 +++++
 conf/zookeeper.conf        | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/conf/global_zookeeper.conf b/conf/global_zookeeper.conf
index b255f9c..816b3d4 100644
--- a/conf/global_zookeeper.conf
+++ b/conf/global_zookeeper.conf
@@ -29,6 +29,11 @@ syncLimit=5
 dataDir=data/global-zookeeper
 # the port at which the clients will connect
 clientPort=2184
+
+# the port at which the admin will listen
+admin.enableServer=true
+admin.serverPort=9991
+
 # the maximum number of client connections.
 # increase this if you need to handle more clients
 #maxClientCnxns=60
diff --git a/conf/zookeeper.conf b/conf/zookeeper.conf
index ee13fe5..e67eade 100644
--- a/conf/zookeeper.conf
+++ b/conf/zookeeper.conf
@@ -29,6 +29,11 @@ syncLimit=5
 dataDir=data/zookeeper
 # the port at which the clients will connect
 clientPort=2181
+
+# the port at which the admin will listen
+admin.enableServer=true
+admin.serverPort=9990
+
 # the maximum number of client connections.
 # increase this if you need to handle more clients
 #maxClientCnxns=60


Mime
View raw message