You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2018/03/02 02:32:00 UTC

[jira] [Updated] (HBASE-18605) Clarify cryptic statement in Master#move

     [ https://issues.apache.org/jira/browse/HBASE-18605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-18605:
--------------------------
    Fix Version/s:     (was: 2.0.0)

> 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
(v7.6.3#76005)