Zookeeper cluster on AWS

后端 未结 1 677
情话喂你
情话喂你 2021-02-11 07:56

I am trying to setup a zookeeper cluster on 3 AWS ec2 machines, but continuously getting same error:

2016-10-19 16:30:23,177 [myid:2] - WARN  [QuorumPeer[myid=2]         


        
相关标签:
1条回答
  • 2021-02-11 08:00

    For each node you must make sure that you have specified 0.0.0.0 as the node's ip address.

    i.e.: For server 01

    server.1=0.0.0.0:2888:3888
    server.2=192.168.10.10:2888:3888
    server.3=192.168.2.1:2888:3888
    

    For server 02

    server.1=192.168.x.x:2888:3888
    server.2=0.0.0.0:2888:3888
    server.3=192.168.2.1:2888:3888
    

    For server

    server.1=192.168.x.x:2888:3888
    server.2=192.168.10.10:2888:3888
    server.3=0.0.0.0:2888:3888
    
    0 讨论(0)
提交回复
热议问题