dsqzhaoyue 发表于 2019-1-8 12:11:31

HBase-1.0.1学习笔记(五)How HBase Master selection with Zookeeper

# 从zookeeper的日志中看到zookeeper认为从114的client连接已经断开了,并尝试建立119的连接  
2015-09-02 23:02:38,225 - WARN - caught end of stream exception
  
EndOfStreamException: Unable to read additional data from client sessionid 0x24f8d2924cf0008, 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-02 23:02:38,227 - INFO - Closed socket connection for client /192.168.128.114:38986 which had sessionid 0x24f8d2924cf0008
  
2015-09-02 23:02:42,086 - INFO - Processed session termination for sessionid: 0x14f8d24f53b000c
  
2015-09-02 23:02:43,403 - INFO - Accepted socket connection from /192.168.128.119:43855
  
2015-09-02 23:02:43,404 - INFO - Client attempting to establish new session at /192.168.128.119:43855
  
2015-09-02 23:02:43,408 - INFO - Established session 0x24f8d2924cf000c with negotiated timeout 40000 for client /192.168.128.119:43855
  
2015-09-02 23:02:43,544 - INFO - Got user-level KeeperException when processing sessionid:0x14f8d24f53b000b type:create cxid:0x35 zxid:0xa000000ce txntype:-1 reqpath:n/a Error Path:/hbase/online-snapshot/acquired Error:KeeperErrorCode = NodeExists for /hbase/online-snapshot/acquired
  
2015-09-02 23:02:43,586 - INFO - Got user-level KeeperException when processing sessionid:0x14f8d24f53b000d type:create cxid:0x1 zxid:0xa000000d0 txntype:-1 reqpath:n/a Error Path:/hbase/replication/rs Error:KeeperErrorCode = NodeExists for /hbase/replication/rs
  
2015-09-02 23:02:49,501 - INFO - Got user-level KeeperException when processing sessionid:0x14f8d24f53b000b type:create cxid:0x6a zxid:0xa000000d1 txntype:-1 reqpath:n/a Error Path:/hbase/namespace/default Error:KeeperErrorCode = NodeExists for /hbase/namespace/default
  
2015-09-02 23:02:49,517 - INFO - Got user-level KeeperException when processing sessionid:0x14f8d24f53b000b type:create cxid:0x6c zxid:0xa000000d3 txntype:-1 reqpath:n/a Error Path:/hbase/namespace/hbase Error:KeeperErrorCode = NodeExists for /hbase/namespace/hbase
  
2015-09-02 23:03:16,000 - INFO - Expiring session 0x14f8d24f53b0006, timeout of 40000ms exceeded
  
2015-09-02 23:03:16,001 - INFO - Expiring session 0x24f8d2924cf0008, timeout of 40000ms exceeded
  
2015-09-02 23:03:16,002 - INFO - Expiring session 0x14f8d24f53b0008, timeout of 40000ms exceeded
  
2015-09-02 23:03:16,002 - INFO - Processed session termination for sessionid: 0x14f8d24f53b0006
  
2015-09-02 23:03:16,003 - INFO - Processed session termination for sessionid: 0x24f8d2924cf0008
  
2015-09-02 23:03:16,004 - INFO - Processed session termination for sessionid: 0x14f8d24f53b0008
  
2015-09-02 23:03:32,163 - INFO - Accepted socket connection from /192.168.128.114:39048
  
2015-09-02 23:03:32,176 - INFO - Client attempting to establish new session at /192.168.128.114:39048
  
2015-09-02 23:03:32,180 - INFO - Established session 0x24f8d2924cf000d with negotiated timeout 30000 for client /192.168.128.114:39048
  
2015-09-02 23:04:17,219 - WARN - caught end of stream exception
  
EndOfStreamException: Unable to read additional data from client sessionid 0x24f8d2924cf000d, 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-02 23:04:17,222 - INFO - Closed socket connection for client /192.168.128.114:39048 which had sessionid 0x24f8d2924cf000d
  
2015-09-02 23:04:44,000 - INFO - Expiring session 0x24f8d2924cf000d, timeout of 30000ms exceeded
  
2015-09-02 23:04:44,001 - INFO - Processed session termination for sessionid: 0x24f8d2924cf000d


页: [1]
查看完整版本: HBase-1.0.1学习笔记(五)How HBase Master selection with Zookeeper