@Deprecated
  public static Pair<RegionInfo, ServerName> getRegion(Connection connection, byte[] regionName)
    throws IOException {
    HRegionLocation location = getRegionLocation(connection, regionName);
    return location == null ? null : new Pair<>(location.getRegion(), location.getServerName());
  }
Gets the region info and assignment for the specified region.
@param connection connection we're using
@param regionName Region to lookup.
@return Location and RegionInfo for <code>regionName</code>
@deprecated use {@link #getRegionLocation(Connection, byte[])} instead
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java