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

A robust way deal with early termination of HBCK

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 0.98.24, 2.0.0
    • Component/s: hbck
    • Labels:
      None
    • Hadoop Flags:
      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-0.98.patch
          197 kB
          Andrew Kyle Purtell
        2. HBASE-16008.v1-branch-1.patch
          285 kB
          Stephen Yuan Jiang
        3. HBASE-16008.v1-master.patch
          279 kB
          Stephen Yuan Jiang
        4. HBASE-16008.v0-master.patch
          292 kB
          Stephen Yuan Jiang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: