[
https://issues.apache.org/jira/browse/ZOOKEEPER-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736328#comment-14736328
]
Hunt Tang commented on ZOOKEEPER-1582:
--------------------------------------
I'm using HBase 1.1.2 which by default uses ZooKeeper 3.4.6 as the log printed
as below.
2015-09-09 10:35:31,273 INFO [main] server.ZooKeeperServer: Server
environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
My code worked well if I ran it on the same machine as the ZooKeeper installed,
however, when I ran my code remotely, the same issue occurred. The logs were as
followings.
2015-09-09 11:03:32,187 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181]
server.NIOServerCnxnFactory: Accepted socket connection from /10.0.1.201:50922
2015-09-09 11:03:32,202 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181]
server.ZooKeeperServer: Client attempting to establish new session at
/10.0.1.201:50922
2015-09-09 11:03:32,230 INFO [SyncThread:0] server.ZooKeeperServer:
Established session 0x14fa1b466c30010 with negotiated timeout 90000 for client
/10.0.1.201:50922
2015-09-09 11:04:48,585 WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181]
server.NIOServerCnxn: caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid
0x14fa1b466c30010, 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)
2015-09-09 11:04:48,587 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181]
server.NIOServerCnxn: Closed socket connection for client /10.0.1.201:50922
which had sessionid 0x14fa1b466c30010
> EndOfStreamException: Unable to read additional data from client
> ----------------------------------------------------------------
>
> Key: ZOOKEEPER-1582
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1582
> Project: ZooKeeper
> Issue Type: Bug
> Environment: windows 7
> jdk 7
> Reporter: zhouyanming
> Priority: Blocker
>
> 1.download zookeeper-3.4.4.tar.gz and unzip
> 2.rename conf/zoo_sample.cfg to zoo.cfg
> 3.click zkServer.cmd
> 4.click zkCli.cmd
> zkCli can not connect to zkServer,it blocked
> zkServer console print
> 2012-11-13 17:28:05,302 [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
> 0x13af9131eee0000, 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:722)
> 2012-11-13 17:28:05,308 [myid:] - INFO
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed
> socket connection for client /127.0.0.1:54810 which had sessionid
> 0x13af9131eee0000
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)