t;> zk1 and zk3 cannot create a cluster of 2 zk instances(is such scenario
>> >>> supported by zookeeper?).
>> >>> When zk2 is started again instead of zk1, cluster is created.
>> >>>
>> >>> Observation:
>> >>>
zk1 starts
> >> trying
> >>> to connect at 04:04:19,996 as below.
> >>>
> >>> [2016-10-20 04:04:19,996] WARN Unexpected exception, tries=0,
> connecting
> >> to
> >>> /10.54.1.53:12001 (org.apache.zookeeper.server.quorum.Learne
va.net.ConnectException: Connection refused
>>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>>> at
>>> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:
>> 350)
>>> at
>>> java.net.AbstractPlainSocketImpl.connectToA
pl.java:
> 188)
> > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> > at java.net.Socket.connect(Socket.java:589)
> > at
> > org.apache.zookeeper.server.quorum.Learner.connectToLeader(Learner.java:
> 225)
> > at
> > org.apache.zookeeper.server.qu
apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:71)
> at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:786)
>
> This is strange as I couldn't reproduce this on local VM VirtualBox but on
> VMware reproduction is 100%.
>
> thanks,
>
Krzysztof
-- Forwarded message --
From: Krzysztof Rybak
Date: Thu, Oct 20, 2016 at 4:50 PM
Subject: Zookeeper exception: Timeout while waiting for epoch from quorum
To: user@zookeeper.apache.org
Hi All,
first mail in the group so sorry for possible inconsistency in advance.
Zookeeper
Hi All,
first mail in the group so sorry for possible inconsistency in advance.
Zookeeper version is zookeeper-3.4.6.
I'm facing a problem when zookeeper is reconfiguring a cluster.
Initial state:
machine A:
zk1(follower)
zk2(leader)
machine B:
zk3(follower)
zk1 and zk2 are stopped (in that orde