public static void openRegion(final RpcController controller,
    final AdminService.BlockingInterface admin, ServerName server,
    final org.apache.hadoop.hbase.client.RegionInfo region) throws IOException {
    OpenRegionRequest request = RequestConverter.buildOpenRegionRequest(server, region, null);
    try {
      admin.openRegion(controller, request);
    } catch (ServiceException se) {
      throw ProtobufUtil.getRemoteException(se);
    }
  }
A helper to open a region using admin protocol.
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java