集群环境:
nn1,view和dn1三节点部署的zookeeper集群,gezookeeper进程均已启动
hbase web页面显示zk_dump信息如下
日志输出信息如下:
shell> tail -f /var/log/zookeeper/zookeeper.log
2018-04-16 09:56:20,000 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x362b792537017ff
2018-04-16 09:56:37,190 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x262b7925b1b1858
2018-04-16 09:56:50,000 [myid:3] - INFO [SessionTracker:[email protected]] - Expiring session 0x162b792533f1848, timeout of 40000ms exceeded
2018-04-16 09:56:50,001 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x162b792533f1848
2018-04-16 09:57:05,929 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Accepted socket connection from /10.211.191.139:47524
2018-04-16 09:57:05,929 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Client attempting to establish new session at /10.211.191.139:47524
2018-04-16 09:57:05,930 [myid:3] - INFO [CommitProcessor:3:[email protected]] - Established session 0x362b79253701802 with negotiated timeout 40000 for client /10.211.191.139:47524
2018-04-16 09:57:06,310 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x362b79253701802
2018-04-16 09:57:06,311 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Closed socket connection for client /10.211.191.139:47524 which had sessionid 0x362b79253701802
2018-04-16 09:57:18,000 [myid:3] - INFO [SessionTracker:[email protected]] - Expiring session 0x262b7925b1b1857, timeout of 40000ms exceeded
2018-04-16 09:57:18,000 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x262b7925b1b1857
2018-04-16 09:57:20,039 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Accepted socket connection from /10.211.191.139:47529
2018-04-16 09:57:20,041 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Client attempting to establish new session at /10.211.191.139:47529
2018-04-16 09:57:20,042 [myid:3] - INFO [CommitProcessor:3:[email protected]] - Established session 0x362b79253701803 with negotiated timeout 40000 for client /10.211.191.139:47529
2018-04-16 09:57:37,020 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x262b7925b1b185a
2018-04-16 09:57:37,361 [myid:3] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x362b79253701803, 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:744)
2018-04-16 09:57:37,361 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Closed socket connection for client /10.211.191.139:47529 which had sessionid 0x362b79253701803
2018-04-16 09:57:48,000 [myid:3] - INFO [SessionTracker:[email protected]] - Expiring session 0x262b7925b1b1859, timeout of 40000ms exceeded
2018-04-16 09:57:48,000 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x262b7925b1b1859
2018-04-16 09:58:06,982 [myid:3] - INFO [ProcessThread(sid:3 cport:-1)::[email protected]] - Processed session termination for sessionid: 0x262b7925b1b185c
2018-04-16 09:58:11,418 [myid:3] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x362b792537017a5, 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:744)
2018-04-16 09:58:11,419 [myid:3] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Closed socket connection for client /10.211.191.134:47136 which had sessionid 0x362b792537017a5
2018-04-16 09:58:18,002 [myid:3] - INFO [SessionTracker:[email protected]] - Expiring session 0x362b79253701803, timeout of 40000ms exceeded
状态检查:
显示正常,在hbase web监控端查看zk dump每次刷新都有时正常有时提示,错误,现在不影响业务,先将就着用吧。。。哪位哥哥有解决方法了,给小弟留个言也可以的。
原文地址:http://blog.51cto.com/maoxiaoxiong/2103918
时间: 2024-11-13 14:45:59