[
https://issues.apache.org/jira/browse/HBASE-18051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011658#comment-16011658
]
Guangxu Cheng commented on HBASE-18051:
---------------------------------------
bq.See if you can utilize existing method(s) and not add isBalancerOn() to
MasterServices
yep, isBalancerEnabled () calls the method isBalancerOn() in HMaster to get the
state of the load balancer.
In RSGroupAdminServer, the type of master is MasterServices, but isBalancerOn()
is not defined in MasterServices, so I add isBalancerOn() to MasterServices.
Can I use (HMaster) master).isBalancerOn() instead of adding isBalancerOn() to
MasterServices?
> balance_rsgroup still run when the Load Balancer is not enabled.
> ----------------------------------------------------------------
>
> Key: HBASE-18051
> URL: https://issues.apache.org/jira/browse/HBASE-18051
> Project: HBase
> Issue Type: Bug
> Components: rsgroup
> Affects Versions: 2.0.0
> Reporter: Guangxu Cheng
> Assignee: Guangxu Cheng
> Fix For: 2.0.0
>
> Attachments: HBASE-18051-v1.patch
>
>
> When the Load Balancer is not enabled, the command "balancer" will not be
> executed , but the command "balance_rsgroup" can still run, which is not
> reasonable.So we need to fix it
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)