Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14350 Procedure V2 Phase 2: Assignment Manager
  3. HBASE-18103

[AMv2] If Master gives OPEN to another, if original eventually succeeds, Master will kill it

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0
    • master, proc-v2
    • None
    • Reviewed

    Description

      If a RS is slow to open a Region, the Master will give the Region to another to open it (In this case, was a massive set of edits to process and a load of StoreFiles to open...). Should the original RS succeed with its open eventually, on reporting the master the successful open, the Master currently kills the RS because the region is supposed to be elsewhere.

      This is an easy fix.

      The RS does not fully open a Region until Master gives it the go so just close the region if master rejects the open....

      See '6.1.1 If Master gives Region to another to Open, old RS will be kill itself on reject by Master; easy fix!' in https://docs.google.com/document/d/1eVKa7FHdeoJ1-9o8yZcOTAQbv0u0bblBlCCzVSIn69g/edit#heading=h.qtfojp9774h

      Attachments

        1. hbase-18103.master.001.patch
          13 kB
          Umesh Agashe
        2. hbase-18103.master.001.patch
          13 kB
          Umesh Agashe

        Activity

          People

            uagashe Umesh Agashe
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: