@Override
  public BalanceRSGroupResponse balanceRSGroup(RpcController controller,
    BalanceRSGroupRequest request) throws ServiceException {
    BalanceRequest balanceRequest = ProtobufUtil.toBalanceRequest(request);

    BalanceRSGroupResponse.Builder builder =
      BalanceRSGroupResponse.newBuilder().setBalanceRan(false);

    LOG.info(
      server.getClientIdAuditPrefix() + " balance rsgroup, group=" + request.getRSGroupName());
    try {
      if (server.getMasterCoprocessorHost() != null) {
        server.getMasterCoprocessorHost().preBalanceRSGroup(request.getRSGroupName(),
          balanceRequest);
      }
      BalanceResponse response =
        server.getRSGroupInfoManager().balanceRSGroup(request.getRSGroupName(), balanceRequest);
      ProtobufUtil.populateBalanceRSGroupResponse(builder, response);
      if (server.getMasterCoprocessorHost() != null) {
        server.getMasterCoprocessorHost().postBalanceRSGroup(request.getRSGroupName(),
          balanceRequest, response);
      }
    } catch (IOException e) {
      throw new ServiceException(e);
    }
    return builder.build();
  }
Bypass specified procedure to completion. Procedure is marked completed but no actual work is
done from the current state/ step onwards. Parents of the procedure are also marked for bypass.
NOTE: this is a dangerous operation and may be used to unstuck buggy procedures. This may leave
system in incoherent state. This may need to be followed by some cleanup steps/ actions by
operator.
@return BypassProcedureToCompletionResponse indicating success or failure
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java