Zookeeper admin server Port

こ雲淡風輕ζ 提交于 2020-03-23 05:44:17

问题


Installed zookeeper 3.5.6 bin on windows. Getting error: Unable to start AdminServer, exiting abnormally org.apache.zookeeper.server.admin.AdminServer$AdminServerException: Problem starting AdminServer on address 0.0.0.0, port 8080 and command URL /commands

Where do I find the AdminServer configuration properties to fix this. In my conf directory the .cfg does not have anything, and I cant find anything anywhere else either?? The documentation is referring to zookeeper.admin.serverPort properties etc.


回答1:


Add below property to conf/zoo.cfg file and restart zk server.
admin.serverPort=9876 other port than 8080

Or you could disable admin server altogether by
admin.enableServer=false



来源:https://stackoverflow.com/questions/59943241/zookeeper-admin-server-port

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!