Zookeeper connection error

后端 未结 23 985
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 05:41

We have a standalone zookeeper setup on a dev machine. It works fine for every other dev machine except this one testdev machine.

We get this error over and over aga

23条回答
  •  一生所求
    2020-12-24 06:17

    I just have the same situation as you and I have just fixed this problem.

    my conf/zoo.cfg just like this:

    server.1=10.194.236.32:2888:3888
    server.2=10.194.236.33:2888:3888
    server.3=10.208.177.15:2888:3888
    server.4=10.210.154.23:2888:3888
    server.5=10.210.154.22:2888:3888
    

    then i set data/myid file content like this:

    1      //at host  10.194.236.32
    2      //at host  10.194.236.33
    3      //at host  10.208.177.15
    4      //at host  10.210.154.23
    5      //at host  10.210.154.22
    

    finally restart zookeeper

提交回复
热议问题