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 <arcad...@menelic.com> wrote: > > 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 misconfiguration that may cause > zk1 to never become a leader? (note that we do not have any zk group > set-up) > > 2) Is there any command or way to force zk1 to become leader of the quorum? > > Note that all connected SolrJ clients have zkhost set to > zk1:port,zk2:port,zk3:port > > Thanks. > > > -- > Arcadius Ahouansou > Menelic Ltd | Information is Power > M: 07908761999 > W: www.menelic.com > --- > -- Arcadius Ahouansou Menelic Ltd | Information is Power M: 07908761999 W: www.menelic.com ---