Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - EndOfStreamException: Unable to read additional data from client sessionid


Copy link to this message
-
EndOfStreamException: Unable to read additional data from client sessionid
Prasad GS 2012-11-23, 10:57
Hi,

Zookeeper client is unable to connect to the server & fails with the
following exception. I'm running a local zookeeper server in my ubuntu pc.
Please note that I'm able to connect to the
server using the zkCli that comes with the zookeeper bundle and perform all
operations.

2012-11-23 16:12:58,310 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@832] - Client attempting to renew
session 0x13b2cc40ea40008 at /127.0.0.1:49879
2012-11-23 16:12:58,311 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@595] - Established session
0x13b2cc40ea40008 with negotiated timeout 40000 for client /127.0.0.1:49879
2012-11-23 16:13:24,996 [myid:] - WARN  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@349] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid
0x13b2cc40ea40008, likely client has closed socket
    at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220)
    at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
    at java.lang.Thread.run(Thread.java:662)
2012-11-23 16:13:24,998 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
client /127.0.0.1:49879 which had sessionid 0x13b2cc40ea40008

Regards,
Prasad GS