Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15531 Favored Nodes Enhancements
  3. HBASE-15156

Support first assignment of split daughters to non-parent RS

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      On region split, the region's daughter is always opened by the same region server hosting the parent region. In some cases this is not ideal:

      This feature was mainly needed for favored nodes to allow for more freedom when selecting favored nodes for daughter regions. ie The daughter doesn't have to always select the regionserver hosting the split as a favored node which should allow for better favored node distribution.

      Though this feature is actually useful in cases where region splits occur much more often than the balancer is run. It also is a bit more efficient as the major compaction that occurs after daughter assignment does not go to waste (ie cancelled half-way, loss of locality due to move, etc). We actually run it this way in some of our clusters even without favored nodes enabled. Hence I am supplying a patch which is independent of favored nodes.

        Attachments

        1. HBASE-15156_1.patch
          28 kB
          Francis Liu
        2. HBASE-15156.patch
          22 kB
          Francis Liu

          Issue Links

            Activity

              People

              • Assignee:
                toffer Francis Liu
                Reporter:
                toffer Francis Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: