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

refactor and improve decommissioning logic



    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha-1
    • Fix Version/s: None
    • Component/s: None
    • Labels:


      Making some changes needed to support better decommissioning on large clusters and with container mode; to test those and add clarify I moved parts of decommissioning logic from HMaster, Draining tracker, and ServerManager into a separate class.
      Features added/improvements:
      1) More resilient off-loading; right now off-loading fails for a subset of regions in case of a single region failure; is never done on master restart, etc.
      2) Option to kill RS after off-loading (good for container mode HBase, e.g. on YARN).
      3) Option to specify machine names only to decommission, for the API to be usable for an external system that doesn't care about HBase server names, or e.g. multiple RS in containers on the same node.
      4) Option to replace existing decommissioning list instead of adding to it (the same; to avoid additionally remembering what was previously sent to HBase).
      5) Tests, comments


        1. HBASE-22254.patch
          73 kB
          Sergey Shelukhin
        2. HBASE-22254.01.patch
          74 kB
          Sergey Shelukhin
        3. HBASE-22254.02.patch
          88 kB
          Sergey Shelukhin
        4. HBASE-22254.03.patch
          89 kB
          Sergey Shelukhin

          Issue Links



              • Assignee:
                sershe Sergey Shelukhin
                sershe Sergey Shelukhin
              • Votes:
                0 Vote for this issue
                6 Start watching this issue


                • Created: