You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/08/15 20:27:00 UTC
[jira] [Created] (HBASE-18605) Clarify cryptic statement in
Master#move
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)