@Override
  public FlushTableResponse flushTable(RpcController controller, FlushTableRequest req)
    throws ServiceException {
    TableName tableName = ProtobufUtil.toTableName(req.getTableName());
    List<byte[]> columnFamilies = req.getColumnFamilyCount() > 0
      ? req.getColumnFamilyList().stream().filter(cf -> !cf.isEmpty()).map(ByteString::toByteArray)
        .collect(Collectors.toList())
      : null;
    try {
      long procId =
        server.flushTable(tableName, columnFamilies, req.getNonceGroup(), req.getNonce());
      return FlushTableResponse.newBuilder().setProcId(procId).build();
    } catch (IOException ioe) {
      throw new ServiceException(ioe);
    }
  }
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