java.io.IOException: ZooKeeperServer not running 2014-10-27 23:06:36,845 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /141.105.120.150:47142 (no session established for client) ..... 2014-10-28 00:07:18,464 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] - Client attempting to establish new session at /141.105.125.180:56530 2014-10-28 00:07:18,468 [myid:2] - INFO [CommitProcessor:2:ZooKeeperServer@617] - Established session 0x24954020e470268 with negotiated timeout 6000 for client /141.105.125.180:56530 2014-10-28 00:07:18,483 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /141.105.125.180:56530 which had sessionid 0x24954020e470268 2014-10-28 00:07:18,632 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /178.21.116.224:45958 2014-10-28 00:07:18,632 [myid:2] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@822] - Connection request from old client /178.21.116.224:45958; will be dropped if server is in r-o mode 2014-10-28 00:07:18,632 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] - Client attempting to establish new session at /178.21.116.224:45958 2014-10-28 00:07:18,636 [myid:2] - INFO [CommitProcessor:2:ZooKeeperServer@617] - Established session 0x24954020e470269 with negotiated timeout 6000 for client /178.21.116.224:45958 2014-10-28 00:07:18,650 [myid:2] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x24954020e470269, likely client has closed socket

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Ron van der Vegt, 1 year ago
ZooKeeperServer not running 2014-10-27 23:06:36,845 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /141.105.120.150:47142 (no session established for client) ..... 2014-10-28
via cloudera.com by Unknown author, 1 year ago
ZooKeeperServer not running 2014-07-24 00:24:39,433 [myid:1] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServ erCnxn@1001] - Closed socket connection for client /192.168.1.30:35157 (no session established for client) 2014-07-24 00:25
via Stack Overflow by Nilotpal
, 1 year ago
:47,166] INFO Accepted socket connection from /10.10.1.9:45015 (org.apache.zookeeper.server.NIOServerCnxnFactory) [2016-05-23 07:47:51,080] WARN caught end of stream exception (org.apache.zookeeper.server.NIOServerCnxn) EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
via GitHub by nsphung
, 2 years ago
Connection reset by peer (org.apache.zookeeper.server.NIOServerCnxn) [2015-08-31 07:16:57,373] INFO Closed socket connection for client /172.17.0.55:52319 which had sessionid 0x14f828e58a20005 (org.apache.zookeeper.server.NIOServerCnxn) [2015-08-31
via GitHub by ZiCog
, 1 year ago
Connection reset by peer (org.apache.zookeeper.server.NIOServerCnxn) INFO Closed socket connection for client /192.168.1.244:50772 which had sessionid 0x157ec4b8b50007d (org.apache.zookeeper.server.NIOServerCnxn) INFO Expiring session
java.io.IOException: ZooKeeperServer not running 2014-10-27 23:06:36,845 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /141.105.120.150:47142 (no session established for client) ..... 2014-10-28 00:07:18,464 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] - Client attempting to establish new session at /141.105.125.180:56530 2014-10-28 00:07:18,468 [myid:2] - INFO [CommitProcessor:2:ZooKeeperServer@617] - Established session 0x24954020e470268 with negotiated timeout 6000 for client /141.105.125.180:56530 2014-10-28 00:07:18,483 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /141.105.125.180:56530 which had sessionid 0x24954020e470268 2014-10-28 00:07:18,632 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /178.21.116.224:45958 2014-10-28 00:07:18,632 [myid:2] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@822] - Connection request from old client /178.21.116.224:45958; will be dropped if server is in r-o mode 2014-10-28 00:07:18,632 [myid:2] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] - Client attempting to establish new session at /178.21.116.224:45958 2014-10-28 00:07:18,636 [myid:2] - INFO [CommitProcessor:2:ZooKeeperServer@617] - Established session 0x24954020e470269 with negotiated timeout 6000 for client /178.21.116.224:45958 2014-10-28 00:07:18,650 [myid:2] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x24954020e470269, likely client has closed socket
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.