Cluster Environment:
Zookeeper cluster deployed by Nn1,view and DN1 three nodes, Gezookeeper process started
The HBase Web page displays zk_dump information as follows
The log output information is as follows:
shell> tail-f/var/log/zookeeper/zookeeper.log2018-04-16 09:56:20,000 [Myid:3]-INFO [ProcessThread (Sid:3 cport:-1 ):: [email protected]]-processed session termination for SESSIONID:0X362B792537017FF2018-04-16 09:56:37,190 [ Myid:3]-INFO [ProcessThread (Sid:3 cport:-1):: [email protected]]-processed session termination for SESSIONID:0X2 62b7925b1b18582018-04-16 09:56:50,000 [Myid:3]-INFO [sessiontracker:[email protected]]-Expiring session 0x162b792533f1848, timeout of 40000ms exceeded2018-04-16 09:56:50,001 [Myid:3]-INFO [ProcessThread (Sid:3 cport:-1):: [E Mail protected]]-processed session termination for sessionid:0x162b792533f18482018-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:475242018-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:475242018-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:475242018-04-16 09:57:06,310 [Myid:3] -INFO [ProcessThread (Sid:3 cport:-1):: [email protected]]-processed session termination for sessionid:0x362b7925 37018022018-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 0x362b792537018022018-04-16 09:57:18,000 [m Yid:3]-INFO [sessiontracker:[email protected]]-expiring session 0x262b7925b1b1857, timeout of 40000ms EXCEEDED20 18-04-16 09:57:18,000 [Myid:3]-INFO [ProcessThread (Sid:3 cport:-1):: [email protected]]-processed session Termin ation for sessionid:0x262b7925b1b18572018-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:475292018-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:475292018-04-16 09:57:20,042 [Myid:3]-INFO [commitprocessor:3:[email protected]]-established session 0x362b79253701803 with NEG otiated timeout 40000 for client/10.211.191.139:475292018-04-16 09:57:37,020 [Myid:3]-INFO [ProcessThread (Sid:3 cport: -1):: [email protected]]-processed session termination for SESSIONID:0X262B7925B1B185A2018-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 Exceptionendofstreamexception:unable to read additional data from client SessionID 0x362b79253701803, likely client have C losed socket at Org.apache.zookeeper.server.NIOServerCnxn.doIO (nioservercnxn.java:220) at Org.apache.zookeep Er.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 0x 362b792537018032018-04-16 09:57:48,000 [Myid:3]-INFO [sessiontracker:[email protected]]-Expiring session 0x262b7925b1b1859, timeout of 40000ms exceeded2018-04-16 09:57:48,000 [Myid:3]-INFO [ProcessThread (Sid:3 cport:-1):: [E Mail protected]]-processed session termination for sessionid:0x262b7925b1b18592018-04-16 09:58:06,982 [Myid:3]- INFO [ProcessThread (Sid:3 cport:-1):: [email protected]]-processed session termination for SessionID: 0x262b7925b1b185c2018-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 exceptionendofstreamexception:unable to read additional data from client SessionID 0x3 62B792537017A5, 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 0x362b792537017a52018-04-16 09 : 58:18,002 [Myid:3]-INFO [sessiontracker:[email protected]]-expiring session 0x362b79253701803, timeout of 40000 Ms exceeded
Status check:
Display Normal, in the HBase web monitoring side view ZK dump every time the refresh is sometimes normal sometimes prompt, error, now do not affect the business, first will use it ... Which elder brother has the solution, give the younger brother to leave a word also can.
Record a zookeeper cluster one of the nodes displays connection in the HBase Web page Rese