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

A robust way deal with early termination of HBCK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 0.98.24, 2.0.0
    • hbck
    • None
    • Reviewed

    Description

      When HBCK is running, we want to disable Catalog Janitor, Balancer and Split/Merge. Today, the implementation is not robust. If HBCK is terminated earlier by Control-C, the changed state would not be reset to original.

      HBASE-15406 was trying to solve this problem for Split/Merge switch. The implementation is complicated, and it did not solve CJ and Balancer.

      The proposal to solve the problem is to use a znode to indicate that the HBCK is running. CJ, balancer, and Split/Merge switch all look for this znode before doing it operation.

      Attachments

        1. HBASE-16008.v0-master.patch
          292 kB
          Stephen Yuan Jiang
        2. HBASE-16008.v1-master.patch
          279 kB
          Stephen Yuan Jiang
        3. HBASE-16008.v1-branch-1.patch
          285 kB
          Stephen Yuan Jiang
        4. HBASE-16008-0.98.patch
          197 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              syuanjiang Stephen Yuan Jiang
              syuanjiang Stephen Yuan Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: