[ https://issues.apache.org/jira/browse/HBASE-18051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010900#comment-16010900 ]
Ted Yu commented on HBASE-18051: -------------------------------- HBaseAdmin has the following method: {code} public boolean isBalancerEnabled() throws IOException { {code} MasterRpcServices has: {code} public IsBalancerEnabledResponse isBalancerEnabled(RpcController controller, IsBalancerEnabledRequest request) throws ServiceException { IsBalancerEnabledResponse.Builder response = IsBalancerEnabledResponse.newBuilder(); response.setEnabled(master.isBalancerOn()); {code} See if you can utilize existing method(s) and not add 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)