Github user cammckenzie commented on the issue:

    https://github.com/apache/curator/pull/221
  
    I had a bit more of a look at the failing test and see the following being 
logged when the client.reconfig() call occurs. I'm not sure if these are issues 
or not, but they certainly seem to be. 
    
    Also, I noticed that the reconfig() call to Zookeeper that Curator is using 
is deprecated.
    
    ERROR org.apache.zookeeper.server.NIOServerCnxnFactory  Error reconfiguring 
client port to /0.0.0.0:39762 Address already in use 
[LearnerHandler-/127.0.0.1:52184]
    ERROR org.apache.zookeeper.server.quorum.QuorumCnxManager  Exception while 
listening [/0.0.0.0:34491]
    java.net.BindException: Address already in use (Bind failed)
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at 
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
        at java.net.ServerSocket.bind(ServerSocket.java:376)
        at java.net.ServerSocket.bind(ServerSocket.java:330)
        at 
org.apache.zookeeper.server.quorum.QuorumCnxManager$Listener.run(QuorumCnxManager.java:638)
    ERROR org.apache.zookeeper.server.NIOServerCnxnFactory  Error reconfiguring 
client port to /0.0.0.0:35059 Address already in use 
[QuorumPeer[myid=2](plain=/127.0.0.1:35059)(secure=disabled)]
    ERROR org.apache.zookeeper.server.NIOServerCnxnFactory  Error reconfiguring 
client port to /0.0.0.0:33568 Address already in use 
[QuorumPeer[myid=1](plain=/127.0.0.1:33568)(secure=disabled)]
    ERROR org.apache.zookeeper.server.quorum.LearnerHandler  Unexpected 
exception causing shutdown while sock still open 
[LearnerHandler-/127.0.0.1:52184]
    java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:392)
        at 
org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
        at 
org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:83)
        at 
org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:99)
        at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:515)
    ERROR org.apache.zookeeper.server.quorum.LearnerHandler  Unexpected 
exception causing shutdown while sock still open 
[LearnerHandler-/127.0.0.1:52186]
    java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:392)
        at 
org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
        at 
org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:83)
        at 
org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:99)
        at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:515)
    ERROR org.apache.zookeeper.server.quorum.LearnerHandler  Unexpected 
exception causing shutdown while sock still open 
[LearnerHandler-/127.0.0.1:41758]
    java.io.IOException: Follower is ahead of the leader, leader summary: 1 
(current epoch), 4294967297 (last zxid)
        at 
org.apache.zookeeper.server.quorum.Leader.waitForEpochAck(Leader.java:1209)
        at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:421)
    INFO  org.apache.curator.ConnectionState  Connection string changed to: 
127.0.0.1:33568,127.0.0.1:35059,127.0.0.1:39762 [main-EventThread]
    DEBUG org.apache.curator.ConnectionState  reset [main-EventThread]
    ERROR org.apache.zookeeper.server.quorum.LearnerHandler  Unexpected 
exception causing shutdown while sock still open 
[LearnerHandler-/127.0.0.1:41768]
    java.io.IOException: Follower is ahead of the leader, leader summary: 1 
(current epoch), 4294967297 (last zxid)
        at 
org.apache.zookeeper.server.quorum.Leader.waitForEpochAck(Leader.java:1209)
        at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:421)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to