Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18511 Default no regions on master
  3. HBASE-18605

Clarify cryptic statement in Master#move

    XMLWordPrintableJSON

    Details

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

      Description

      I don't understand the objective of the below (In review of parent issue, another claimed bafflement so not just me):

       // TODO: What is this? I don't get it.
            if (dest.equals(serverName) && balancer instanceof BaseLoadBalancer
                && !((BaseLoadBalancer)balancer).shouldBeOnMaster(hri)) {
              // To avoid unnecessary region moving later by balancer. Don't put user
              // regions on master.
      ...
      

      This issue is about cleaning up understanding around what above is for.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stack Michael Stack
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: