Skip to content

Commit

Permalink
[conf] add zookeeper admin server settings to the configuration files (
Browse files Browse the repository at this point in the history
…apache#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.
  • Loading branch information
sijie authored Aug 11, 2018
1 parent d248cee commit 2796431
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf/global_zookeeper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions conf/zookeeper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2796431

Please sign in to comment.