public int getServerWith(byte[] regionName) {
    int index = 0;
    for (JVMClusterUtil.RegionServerThread rst : getRegionServerThreads()) {
      HRegionServer hrs = rst.getRegionServer();
      if (!hrs.isStopped()) {
        Region region = hrs.getOnlineRegion(regionName);
        if (region != null) {
          return index;
        }
      }
      index++;
    }
    return -1;
  }
Get the location of the specified region
@param regionName Name of the region in bytes
@return Index into List of {@link SingleProcessHBaseCluster#getRegionServerThreads()} of HRS
        carrying hbase:meta. Returns -1 if none found.
hbase-server/src/test/java/org/apache/hadoop/hbase/SingleProcessHBaseCluster.java