XMLWordPrintableJSON

Details

    • Hide
      Add a new master web UI to show the potentially problematic opened regions. There are three case:
      1. Master thought this region opened, but no regionserver reported it.
      2. Master thought this region opened on Server1, but regionserver reported Server2
      3. More than one regionservers reported opened this region
      Show
      Add a new master web UI to show the potentially problematic opened regions. There are three case: 1. Master thought this region opened, but no regionserver reported it. 2. Master thought this region opened on Server1, but regionserver reported Server2 3. More than one regionservers reported opened this region

    Description

      On our cluster which based 2.2.0, we found one problem: there are some opened regions which had wrong regionserver in meta. The regionserver is not exist. We used hbck2 to fix them by the following steps.

      1. disable table
      2. bypass the stucked close region procedure (as the target regionserver is not exist) and disable table procedure.
      3. setRegionState to CLOSED.
      4. setTableState to DISABLED.
      5. enable table

      We found this problem by scan the hbase:meta. I thought we should add this feature to hbck2. The we can use hbck2 to find this problem. Thanks.

      Attachments

        1. HBASE-22527.branch-2.0.001.patch
          61 kB
          Guanghao Zhang
        2. HBASE-22527.branch-2.0.001.patch
          61 kB
          Guanghao Zhang
        3. HBASE-22527.branch-2.0.002.patch
          64 kB
          Guanghao Zhang
        4. HBASE-22527.branch-2.1.001.patch
          67 kB
          Guanghao Zhang
        5. HBASE-22527.branch-2.1.002.patch
          67 kB
          Guanghao Zhang
        6. HBASE-22527.branch-2.1.003.patch
          68 kB
          Guanghao Zhang
        7. HBASE-22527.master.001.patch
          15 kB
          Guanghao Zhang
        8. HBASE-22527.master.002.patch
          15 kB
          Guanghao Zhang
        9. HBASE-22527.master.003.patch
          16 kB
          Guanghao Zhang
        10. HBASE-22527.master.004.patch
          16 kB
          Guanghao Zhang
        11. HBASE-22527.master.addendum.patch
          2 kB
          Guanghao Zhang

        Issue Links

          Activity

            People

              zghao Guanghao Zhang
              zghao Guanghao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: