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

Don't need to assign meta to a new RS when standby master become active

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1
    • None
    • None

    Description

      I found this problem when I write ut for HBASE-20569. Now the master  finishActiveMasterInitialization introduce a new RecoverMetaProcedure(HBASE-18261) and it has a sub procedure AssignProcedure. AssignProcedure will skip assign a region when regions state is OPEN and server is online. But for the new regiog state node is created with state OFFLINE. So it will assign the meta to a new RS. And kill the old RS when old RS report to master. This will make the master initialization cost a long time. I will attatch a ut to show this. FYI stack

      Attachments

        1. HBASE-20589.master.001.patch
          5 kB
          Guanghao Zhang
        2. HBASE-20589.master.002.patch
          8 kB
          Guanghao Zhang
        3. HBASE-20589.master.003.patch
          7 kB
          Guanghao Zhang
        4. HBASE-20589.master.003.patch
          7 kB
          Guanghao Zhang
        5. HBASE-20589.master.004.patch
          8 kB
          Guanghao Zhang
        6. HBASE-20589.master.005.patch
          5 kB
          Guanghao Zhang
        7. HBASE-20589.master.006.patch
          7 kB
          Guanghao Zhang
        8. HBASE-20589.master.007.patch
          9 kB
          Guanghao Zhang
        9. HBASE-20589.master.008.patch
          11 kB
          Guanghao Zhang
        10. HBASE-20589.master.008.patch
          11 kB
          Guanghao Zhang
        11. HBASE-20589.master.009.patch
          10 kB
          Guanghao Zhang
        12. HBASE-20589.branch-2.0.patch
          11 kB
          Guanghao Zhang

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: