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

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Region Assignment
    • 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

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

            Dates

              Created:
              Updated: