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

ZK watches leaks during snapshots

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When taking snapshot of a table a watcher over /hbase/online-snapshot/abort/snapshot-name is created which is never cleared when the snapshot is successful. If we use snapshots to take backups daily we accumulate a lot of watches.

      Steps to reproduce -
      1) Take snapshot of a table - snapshot 'table_1', 'abc'
      2) Run the following on zk node or alternatively observe zk watches metric
      echo "wchc" | nc localhost 2181
      /hbase/online-snapshot/abort/abc can be found.

      Attachments

        1. 13885-0.98-v2.txt
          2 kB
          Lars Hofhansl
        2. 13885-0.98-v3.txt
          3 kB
          Lars Hofhansl
        3. 13885-master.txt
          3 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            abhishek.chouhan Abhishek Singh Chouhan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: