private static ServerName resolveRegionServerName(final AsyncAdmin admin, final String hostname) {
    return admin.getRegionServers()
      .thenApply(
        names -> names.stream().filter(sn -> Objects.equals(sn.getHostname(), hostname)).findAny())
      .join().orElseThrow(() -> serverNotFound(hostname));
  }
Overrides commands to make use of coprocessor where possible. Only supports actions taken against
Master and Region Server hosts.
hbase-it/src/test/java/org/apache/hadoop/hbase/CoprocClusterManager.java