Zookeeper和Heron EndOfStreamException:无法从客户端读取其他数据

时间:2018-07-08 02:54:38

标签: apache-zookeeper heron

我将Heron部署在Zookeeper上作为其状态管理员。当我重新启动Zookeeper服务器时,发生了如下异常。 Zookeeper在一台主机上以独立模式运行。 有zookeeper.out:

2018-07-08 01:24:01,355 [myid:] - INFO  [main:QuorumPeerConfig@134] - Reading configuration from: /home/yitian/zookeeper/zookeeper-3.4.10/bin/../conf/zoo.cfg
2018-07-08 01:24:01,364 [myid:] - INFO  [main:QuorumPeer$QuorumServer@167] - Resolved hostname: heron01 to address: heron01/218.195.228.24
2018-07-08 01:24:01,364 [myid:] - ERROR [main:QuorumPeerConfig@345] - Invalid configuration, only one server specified (ignoring)
2018-07-08 01:24:01,365 [myid:] - INFO  [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
2018-07-08 01:24:01,365 [myid:] - INFO  [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
2018-07-08 01:24:01,365 [myid:] - INFO  [main:DatadirCleanupManager@101] - Purge task is not scheduled.
2018-07-08 01:24:01,365 [myid:] - WARN  [main:QuorumPeerMain@113] - Either no config or no quorum defined in config, running  in standalone mode
2018-07-08 01:24:01,373 [myid:] - INFO  [main:QuorumPeerConfig@134] - Reading configuration from: /home/yitian/zookeeper/zookeeper-3.4.10/bin/../conf/zoo.cfg
2018-07-08 01:24:01,373 [myid:] - INFO  [main:QuorumPeer$QuorumServer@167] - Resolved hostname: heron01 to address: heron01/218.195.228.24
2018-07-08 01:24:01,373 [myid:] - ERROR [main:QuorumPeerConfig@345] - Invalid configuration, only one server specified (ignoring)
2018-07-08 01:24:01,373 [myid:] - INFO  [main:ZooKeeperServerMain@96] - Starting server
2018-07-08 01:24:01,377 [myid:] - INFO  [main:Environment@100] - Server environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT
2018-07-08 01:24:01,378 [myid:] - INFO  [main:Environment@100] - Server environment:host.name=heron01
2018-07-08 01:24:01,378 [myid:] - INFO  [main:Environment@100] - Server environment:java.version=1.8.0_151
2018-07-08 01:24:01,378 [myid:] - INFO  [main:Environment@100] - Server environment:java.vendor=Oracle Corporation
2018-07-08 01:24:01,378 [myid:] - INFO  [main:Environment@100] - Server environment:java.home=/usr/java/jdk1.8.0_151/jre
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:java.class.path=/home/yitian/zookeeper/zookeeper-3.4.10/bin/../build/classes:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../build/lib/*.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/slf4j-log4j12-1.6.1.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/slf4j-api-1.6.1.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/netty-3.10.5.Final.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/log4j-1.2.16.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/jline-0.9.94.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../zookeeper-3.4.10.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../src/java/lib/*.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../conf:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../build/classes:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../build/lib/*.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/slf4j-log4j12-1.6.1.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/slf4j-api-1.6.1.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/netty-3.10.5.Final.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/log4j-1.2.16.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../lib/jline-0.9.94.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../zookeeper-3.4.10.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../src/java/lib/*.jar:/home/yitian/zookeeper/zookeeper-3.4.10/bin/../conf:.:/usr/java/jdk1.8.0_151/lib:/usr/java/jdk1.8.0_151/jre/lib
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:java.io.tmpdir=/tmp
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:java.compiler=<NA>
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:os.name=Linux
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:os.arch=amd64
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:os.version=4.13.0-43-generic
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:user.name=yitian
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:user.home=/home/yitian
2018-07-08 01:24:01,379 [myid:] - INFO  [main:Environment@100] - Server environment:user.dir=/home/yitian
2018-07-08 01:24:01,383 [myid:] - INFO  [main:ZooKeeperServer@829] - tickTime set to 10000
2018-07-08 01:24:01,383 [myid:] - INFO  [main:ZooKeeperServer@838] - minSessionTimeout set to -1
2018-07-08 01:24:01,383 [myid:] - INFO  [main:ZooKeeperServer@847] - maxSessionTimeout set to -1
2018-07-08 01:24:01,389 [myid:] - INFO  [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:2181
2018-07-08 01:24:01,395 [myid:] - INFO  [main:FileSnap@83] - Reading snapshot /home/yitian/zookeeper/data/version-2/snapshot.900000000
2018-07-08 01:24:01,663 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43242
2018-07-08 01:24:01,677 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x1647596b1a90008 at /218.195.228.24:43242
2018-07-08 01:24:01,682 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x1647596b1a90008 with negotiated timeout 20000 for client /218.195.228.24:43242
2018-07-08 01:24:01,786 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43244
2018-07-08 01:24:01,787 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x1647596b1a90002 at /218.195.228.24:43244
2018-07-08 01:24:01,787 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x1647596b1a90002 with negotiated timeout 20000 for client /218.195.228.24:43244
2018-07-08 01:24:01,790 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@648] - Got user-level KeeperException when processing sessionid:0x1647596b1a90002 type:create cxid:0x1c zxid:0xa00007608 txntype:-1 reqpath:n/a Error Path:/aurora/scheduler/member_0000001988 Error:KeeperErrorCode = NodeExists for /aurora/scheduler/member_0000001988
2018-07-08 01:24:01,790 [myid:] - INFO  [SyncThread:0:FileTxnLog@203] - Creating new log file: log.a00007608
2018-07-08 01:24:04,724 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43252
2018-07-08 01:24:04,725 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43246
2018-07-08 01:24:04,726 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43252; will be dropped if server is in r-o mode
2018-07-08 01:24:04,727 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x16475c473400001 at /218.195.228.24:43252
2018-07-08 01:24:04,728 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x16475c473400001 with negotiated timeout 20000 for client /218.195.228.24:43252
2018-07-08 01:24:04,729 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43246; will be dropped if server is in r-o mode
2018-07-08 01:24:04,730 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x16475c473400003 at /218.195.228.24:43246
2018-07-08 01:24:04,731 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x16475c473400003 with negotiated timeout 20000 for client /218.195.228.24:43246
2018-07-08 01:24:04,732 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43248
2018-07-08 01:24:04,733 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43254
2018-07-08 01:24:04,734 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43248; will be dropped if server is in r-o mode
2018-07-08 01:24:04,734 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x1647596b1a90000 at /218.195.228.24:43248
2018-07-08 01:24:04,736 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x1647596b1a90000 with negotiated timeout 20000 for client /218.195.228.24:43248
2018-07-08 01:24:04,737 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43256
2018-07-08 01:24:04,737 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43254; will be dropped if server is in r-o mode
2018-07-08 01:24:04,738 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x16475c473400004 at /218.195.228.24:43254
2018-07-08 01:24:04,739 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x16475c473400004 with negotiated timeout 20000 for client /218.195.228.24:43254
2018-07-08 01:24:04,740 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43258
2018-07-08 01:24:04,740 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43256; will be dropped if server is in r-o mode
2018-07-08 01:24:04,741 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x1647596b1a90001 at /218.195.228.24:43256
2018-07-08 01:24:04,743 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x1647596b1a90001 with negotiated timeout 20000 for client /218.195.228.24:43256
2018-07-08 01:24:04,743 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43260
2018-07-08 01:24:04,744 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43258; will be dropped if server is in r-o mode
2018-07-08 01:24:04,745 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x1647596b1a90003 at /218.195.228.24:43258
2018-07-08 01:24:04,746 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x1647596b1a90003 with negotiated timeout 20000 for client /218.195.228.24:43258
2018-07-08 01:24:04,747 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.24:43260; will be dropped if server is in r-o mode
2018-07-08 01:24:04,747 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@935] - Client attempting to renew session 0x16475c473400002 at /218.195.228.24:43260
2018-07-08 01:24:04,750 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@687] - Established session 0x16475c473400002 with negotiated timeout 20000 for client /218.195.228.24:43260
2018-07-08 01:24:23,987 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43274
2018-07-08 01:24:23,989 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.24:43274
2018-07-08 01:24:23,991 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0000 with negotiated timeout 30000 for client /218.195.228.24:43274
2018-07-08 01:24:30,001 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x1647596b1a9000c, timeout of 20000ms exceeded
2018-07-08 01:24:30,002 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x1647596b1a9000d, timeout of 20000ms exceeded
2018-07-08 01:24:30,003 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x1647596b1a9000b, timeout of 20000ms exceeded
2018-07-08 01:24:30,003 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x1647596b1a9000c
2018-07-08 01:24:30,003 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x1647596b1a9000d
2018-07-08 01:24:30,004 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x1647596b1a9000b
2018-07-08 01:24:40,000 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x1647596b1a9000f, timeout of 30000ms exceeded
2018-07-08 01:24:40,001 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x16475c473400005, timeout of 30000ms exceeded
2018-07-08 01:24:40,002 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x16475c473400006, timeout of 30000ms exceeded
2018-07-08 01:24:40,002 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x16475c473400000, timeout of 30000ms exceeded
2018-07-08 01:24:40,002 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x1647596b1a90012, timeout of 30000ms exceeded
2018-07-08 01:24:40,003 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x1647596b1a90014, timeout of 30000ms exceeded
2018-07-08 01:24:40,003 [myid:] - INFO  [SessionTracker:ZooKeeperServer@358] - Expiring session 0x16475c473400007, timeout of 30000ms exceeded
2018-07-08 01:24:40,003 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x1647596b1a9000f
2018-07-08 01:24:40,004 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c473400005
2018-07-08 01:24:40,004 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c473400006
2018-07-08 01:24:40,005 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c473400000
2018-07-08 01:24:40,005 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x1647596b1a90012
2018-07-08 01:24:40,005 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x1647596b1a90014
2018-07-08 01:24:40,006 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c473400007
2018-07-08 01:25:12,585 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43284
2018-07-08 01:25:12,586 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.24:43284
2018-07-08 01:25:12,587 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0001 with negotiated timeout 20000 for client /218.195.228.24:43284
2018-07-08 01:25:12,592 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c599af0001
2018-07-08 01:25:12,596 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@368] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x16475c599af0001, likely client has closed socket
    at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239)
    at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
    at java.lang.Thread.run(Thread.java:748)
2018-07-08 01:25:12,598 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1044] - Closed socket connection for client /218.195.228.24:43284 which had sessionid 0x16475c599af0001
2018-07-08 01:25:19,092 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.43:40374
2018-07-08 01:25:19,093 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.43:40374
2018-07-08 01:25:19,095 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0002 with negotiated timeout 20000 for client /218.195.228.43:40374
2018-07-08 01:25:19,461 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.28:57632
2018-07-08 01:25:19,462 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.28:57632
2018-07-08 01:25:19,492 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0003 with negotiated timeout 20000 for client /218.195.228.28:57632
2018-07-08 01:25:20,458 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.19:53134
2018-07-08 01:25:20,459 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.19:53134
2018-07-08 01:25:20,463 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0004 with negotiated timeout 20000 for client /218.195.228.19:53134
2018-07-08 01:25:23,306 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c599af0000
2018-07-08 01:25:23,308 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1044] - Closed socket connection for client /218.195.228.24:43274 which had sessionid 0x16475c599af0000
2018-07-08 01:25:38,235 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.43:40386
2018-07-08 01:25:38,236 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@368] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
    at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239)
    at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
    at java.lang.Thread.run(Thread.java:748)
2018-07-08 01:25:38,237 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1044] - Closed socket connection for client /218.195.228.43:40386 (no session established for client)
2018-07-08 01:25:38,449 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.43:40388
2018-07-08 01:25:38,451 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.43:40388
2018-07-08 01:25:38,455 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0005 with negotiated timeout 20000 for client /218.195.228.43:40388
2018-07-08 01:25:39,232 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.43:40392
2018-07-08 01:25:39,250 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.43:40392; will be dropped if server is in r-o mode
2018-07-08 01:25:39,250 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.43:40392
2018-07-08 01:25:39,254 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0006 with negotiated timeout 30000 for client /218.195.228.43:40392
2018-07-08 01:25:40,050 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.43:40394
2018-07-08 01:25:40,055 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.43:40394
2018-07-08 01:25:40,060 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0007 with negotiated timeout 30000 for client /218.195.228.43:40394
2018-07-08 01:25:50,806 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.28:57644
2018-07-08 01:25:50,809 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@368] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
    at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239)
    at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
    at java.lang.Thread.run(Thread.java:748)
2018-07-08 01:25:50,810 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1044] - Closed socket connection for client /218.195.228.28:57644 (no session established for client)
2018-07-08 01:25:50,811 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.28:57646
2018-07-08 01:25:50,812 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.28:57646
2018-07-08 01:25:50,816 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0008 with negotiated timeout 20000 for client /218.195.228.28:57646
2018-07-08 01:25:50,996 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.28:57650
2018-07-08 01:25:50,997 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.28:57650; will be dropped if server is in r-o mode
2018-07-08 01:25:50,998 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.28:57650
2018-07-08 01:25:51,002 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af0009 with negotiated timeout 30000 for client /218.195.228.28:57650
2018-07-08 01:25:52,144 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.19:53146
2018-07-08 01:25:52,146 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@368] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
    at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:239)
    at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
    at java.lang.Thread.run(Thread.java:748)
2018-07-08 01:25:52,146 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1044] - Closed socket connection for client /218.195.228.19:53146 (no session established for client)
2018-07-08 01:25:52,147 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.19:53148
2018-07-08 01:25:52,148 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.19:53148
2018-07-08 01:25:52,152 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af000a with negotiated timeout 20000 for client /218.195.228.19:53148
2018-07-08 01:25:52,303 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.19:53150
2018-07-08 01:25:52,304 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@896] - Connection request from old client /218.195.228.19:53150; will be dropped if server is in r-o mode
2018-07-08 01:25:52,305 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.19:53150
2018-07-08 01:25:52,309 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af000b with negotiated timeout 30000 for client /218.195.228.19:53150
2018-07-08 01:26:31,648 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /218.195.228.24:43394
2018-07-08 01:26:31,650 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@942] - Client attempting to establish new session at /218.195.228.24:43394
2018-07-08 01:26:31,656 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@687] - Established session 0x16475c599af000c with negotiated timeout 30000 for client /218.195.228.24:43394
2018-07-08 01:26:31,766 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@486] - Processed session termination for sessionid: 0x16475c599af000c
2018-07-08 01:26:31,768 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1044] - Closed socket connection for client /218.195.228.24:43394 which had sessionid 0x16475c599af000c

此外,尽管发生了此问题,但Heron仍可以正常运行。但是,您自己的某些代码无法正常工作。有关特定问题,请参见:Problem Link

如何解决此问题?感谢您的帮助!

0 个答案:

没有答案