Thanks Everyone. Yes, even i was wondering how can a node can be leader without port 3888 being open, we just did a restart and everything became fine.
Port 3888 must be in LISTEN mode at all Zk Nodes , while 2888 only opens at leader and other nodes connect to it. Thanks Harish On Thu, Aug 23, 2018 at 6:47 AM Shawn Heisey <apa...@elyograg.org> wrote: > On 8/15/2018 7:46 AM, harish lohar wrote: > > In a deployment of 3 Node Zk Cluster we have seen that sometime port 3888 > > is absent after the cluster is formed , this causes Follower node to not > > able to connect to leader if they restart. > > > > Don't leader itself should come out of clustering if this happens ?? > > I'm not well-versed in how ZK works internally, and don't have access > any more to systems I can check, but I seem to remember when looking at > a live ensemble that not every ZK instance will bind to all three ports > (2181, 2888, and 3888 if using the example configs). Surprised me when > I noticed it, but I didn't worry about it too much since ZK seemed to be > working correctly. > > Thanks, > Shawn > >