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

A helper page that help find all problematic regions and procedures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.2.0, 2.1.1
    • 3.0.0-alpha-1, 2.2.0, 2.1.2
    • None
    • None
    • Hide
      After HBASE-21410, we add a helper page to Master UI. This helper page is mainly to help HBase operator quickly found all regions and pids that are get stuck.
      There are 2 entries to get in this page.
      One is showing in the Regions in Transition section, it made "num region(s) in transition" a link that you can click and check all regions in transition and their related procedure IDs.
      The other one is showing in the table details section, it made the number of CLOSING or OPENING regions a link, which you can click and check regions and related procedure IDs of CLOSING or OPENING regions of a certain table.
      In this helper page, not only you can see all regions and related procedures, there are 2 buttons at the top which will show these regions or procedure IDs in text format. This is mainly aim to help operator to easily copy and paste all problematic procedure IDs and encoded region names to HBCK2's command line, by which we HBase operator can bypass these procedures or assign these regions.
      Show
      After HBASE-21410 , we add a helper page to Master UI. This helper page is mainly to help HBase operator quickly found all regions and pids that are get stuck. There are 2 entries to get in this page. One is showing in the Regions in Transition section, it made "num region(s) in transition" a link that you can click and check all regions in transition and their related procedure IDs. The other one is showing in the table details section, it made the number of CLOSING or OPENING regions a link, which you can click and check regions and related procedure IDs of CLOSING or OPENING regions of a certain table. In this helper page, not only you can see all regions and related procedures, there are 2 buttons at the top which will show these regions or procedure IDs in text format. This is mainly aim to help operator to easily copy and paste all problematic procedure IDs and encoded region names to HBCK2's command line, by which we HBase operator can bypass these procedures or assign these regions.

    Description

      This page is mainly focus on finding the regions stuck in some state that cannot be assigned. My proposal of the page is as follows:

      From this page we can see all regions in RIT queue and their related procedures. If we can determine that these regions' state are abnormal, we can click the link 'Procedures as TXT' to get a full list of procedure IDs to bypass them. Then click 'Regions as TXT' to get a full list of encoded region names to assign.

      Some region names are covered by the navigator bar, I'll fix it later.

      Attachments

        1. HBASE-21410.branch-2.1.002.patch
          9 kB
          Jingyun Tian
        2. HBASE-21410.branch-2.1.001.patch
          9 kB
          Jingyun Tian
        3. HBASE-21410.master.004.patch
          9 kB
          Jingyun Tian
        4. HBASE-21410.master.003.patch
          9 kB
          Jingyun Tian
        5. HBASE-21410.master.002.patch
          9 kB
          Jingyun Tian
        6. Screenshot from 2018-11-01 17-56-02.png
          92 kB
          Jingyun Tian
        7. Screenshot from 2018-11-01 17-56-15.png
          13 kB
          Jingyun Tian
        8. HBASE-21410.master.001.patch
          8 kB
          Jingyun Tian
        9. Screenshot from 2018-10-31 10-11-38.png
          89 kB
          Jingyun Tian
        10. Screenshot from 2018-10-31 10-11-56.png
          9 kB
          Jingyun Tian
        11. Screenshot from 2018-10-30 19-06-21.png
          174 kB
          Jingyun Tian
        12. Screenshot from 2018-10-30 19-06-42.png
          181 kB
          Jingyun Tian

        Issue Links

          Activity

            People

              tianjingyun Jingyun Tian
              tianjingyun Jingyun Tian
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: