Zookeeper :: End of Stream Warn

13 views
Skip to first unread message

Arash Vatanpoor

unread,
Mar 27, 2017, 11:56:41 AM3/27/17
to elasticsearch-zookeeper
Cluster : 
3 Zookeeper quorum
2 Kafka Replica
Samza Job managed by Yarn


I see this exception periodically on our zookeeper logs : 
EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
    at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:230)
    at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
    at java.lang.Thread.run(Thread.java:745)

I have checked this Jira ticket, but nothing substantial on how to solve it. 

Also I have configured zookeeper to Autopurge transactional logs and the snapshots.
Here is my config : 


clientPort=2181
dataDir=/opt/zookeeper
tickTime=2000
initLimit=5
syncLimit=2
autopurge.snapRetainCount=3
autopurge.purgeInterval=1
server.1=server1:2888:3888
server.2=server2:2888:3888
server.3=server3:2888:3888


Want to understand what this is actually saying, and how to resolve it.
Thanks
Reply all
Reply to author
Forward
0 new messages