Zookeeper: It is probably not running

后端 未结 4 1005
我寻月下人不归
我寻月下人不归 2021-01-05 00:47

I am trying to start zookeeper on a remote virtual machine. I use this for my project regularly and I do not have any problems while starting the zookeeper. But lately when

相关标签:
4条回答
  • 2021-01-05 01:02

    Most probably Zookeeper server exited. If we are running it on a Linux box, use the linux commands. Some of them:

    ps -ef | grep -i zookeeper
    jps
    

    etc.

    Also, try running it in foreground

    zkServer.sh start-foreground
    
    0 讨论(0)
  • 2021-01-05 01:03

    In my case the issue was some how ClientPort attribute's value was missed in one of the box so in console it was showing as invalid config path.With the help of command 'zkServer.sh start-foreground' investigated and found root cause.

    0 讨论(0)
  • 2021-01-05 01:10

    In My case the issue was $PATH issue... You will get what was the issue by running zookeeper in foreground

    zkServer.sh start-foreground
    
    0 讨论(0)
  • 2021-01-05 01:10

    I encountered same problem,too. In my case problem is about zookeeper locations configuration is not same for each node so zookeeper can not provide Quorum and mentioned nodes can not be part of cluster.

    Please be sure server definition for each node is same.

    For example for all nodes, server definition must be same as below

    server.0=ip0:2888:3888
    server.1=ip1:2888:3888
    server.2=ip2:2888:3888
    server.3=ip3:2888:3888
    server.4=ip4:2888:3888
    
    0 讨论(0)
提交回复
热议问题