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

Disable region splits and merges switch in master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • None

    Description

      In large clusters where region splits are frequent, and HBCK runs take longer, the concurrent splits cause further problems in HBCK since HBCK assumes a static state for the region partition map. We have just seen a case where HBCK undo's a concurrently splitting region causing number of inconsistencies to go up.

      We can have a mode in master where splits and merges are disabled like the balancer and catalog janitor switches. Master will reject the split requests if regionservers decide to split. This switch can be turned on / off by the admins and also automatically by HBCK while it is running (similar to balancer switch being disabled by HBCK).

      HBCK should also disable the Catalog Janitor just in case.

      Attachments

        1. HBASE-15128.patch
          467 kB
          Heng Chen
        2. HBASE-15128_v1.patch
          477 kB
          Heng Chen
        3. HBASE-15128_v3.patch
          500 kB
          Heng Chen
        4. HBASE-15128_v5.patch
          503 kB
          Heng Chen
        5. HBASE-15128_v6.patch
          504 kB
          Heng Chen
        6. HBASE-15128_v7.patch
          504 kB
          Heng Chen
        7. HBASE-15128_v8.patch
          504 kB
          Heng Chen
        8. HBASE-15128_v9.patch
          504 kB
          Heng Chen
        9. HBASE-15128-branch-1.patch
          500 kB
          Heng Chen

        Issue Links

          Activity

            People

              chenheng Heng Chen
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: