Liu Shaohui created HBASE-12739: ----------------------------------- Summary: Avoid too large identifier of ZooKeeperWatcher Key: HBASE-12739 URL: https://issues.apache.org/jira/browse/HBASE-12739 Project: HBase Issue Type: Bug Reporter: Liu Shaohui Assignee: Liu Shaohui Priority: Minor
For each SyncConnected event, the ZooKeeperWatcher will append the session id to its identity. During the failover of zk, the zookeeper client can connect to the zk server, but the the zk server can not serve the request, so the client will try continually, which will produce many SyncConnected events and a very large identifier of ZooKeeperWatcher in hbase log. {code} 2014-12-22,12:38:56,296 WARN org.apache.hadoop.hbase.zookeeper.ZKUtil: master:16500-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-0x349cbb4e4a7f0ba-... {code} A simple patch to fix this problem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)