Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12739

Avoid too large identifier of ZooKeeperWatcher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.11
    • 1.0.0, 0.94.26, 0.98.10, 1.1.0
    • Zookeeper
    • None
    • Reviewed

    Description

      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.

      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-...
      

      A simple patch to fix this problem.

      Attachments

        1. HBASE-12739-trunk-v1.diff
          2 kB
          Shaohui Liu

        Activity

          People

            liushaohui Shaohui Liu
            liushaohui Shaohui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: