The leader election issue we were having was solved by passing
-Djava.net.preferIPv4Stack=true
to zookeeper startup script
It seems our Linux servers have IPv6 enabled but we have no IPv6 network.
Hope this helps others.
Arcadius.
On 4 September 2015 at 04:57, Arcadius Ahouansou
Thanks for adding that to our collective knowledge store!
On Thu, Oct 22, 2015 at 2:44 AM, Arcadius Ahouansou
wrote:
> The leader election issue we were having was solved by passing
>
> -Djava.net.preferIPv4Stack=true
>
> to zookeeper startup script
>
> It seems our Linux
We have a quorum of 3 ZK nodes zk1, zk2 and zk3.
All nodes are identicals.
After multiple restart of the ZK nodes, always keeping the majority of 2,
we have noticed that the node zk1 has never become the leader.
Only zk2 and zk3 become leader.
1) Is there any know reason or possible