Pulsar: Use pulsar-daemon start zookeeper will use port of 8080

Created on 7 Aug 2018  路  2Comments  路  Source: apache/pulsar

Happens in version 2.1.0-incubating

$ bin/pulsar-daemon start zookeeper

I see that port of 8080 be used.

componendeploy typquestion

Most helpful comment

@codelipenghui :

in zookeeper 3.5, zookeeper will start an admin server at 8080. that's why the port of 8080 is used.
what you can do is adding following settings to the zookeeper configuration file. you can either disable zookeeper admin server, or changing the admin server port to a different port (e.g. 9990).

admin.enableServer=true
admin.serverPort=9990

I have a pull request #2331 on adding them to configuration files.

All 2 comments

@codelipenghui :

in zookeeper 3.5, zookeeper will start an admin server at 8080. that's why the port of 8080 is used.
what you can do is adding following settings to the zookeeper configuration file. you can either disable zookeeper admin server, or changing the admin server port to a different port (e.g. 9990).

admin.enableServer=true
admin.serverPort=9990

I have a pull request #2331 on adding them to configuration files.

Close this one since it was answered.

Was this page helpful?
0 / 5 - 0 ratings