hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18605) Clarify cryptic statement in Master#move
Date Tue, 15 Aug 2017 20:27:00 GMT
stack created HBASE-18605:
-----------------------------

             Summary: Clarify cryptic statement in Master#move
                 Key: HBASE-18605
                 URL: https://issues.apache.org/jira/browse/HBASE-18605
             Project: HBase
          Issue Type: Sub-task
          Components: Region Assignment
            Reporter: stack
            Priority: Minor


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

{code}
 // 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.
...
{code}

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message