public static Result getRegionResult(Connection connection, RegionInfo regionInfo)
    throws IOException {
    Get get = new Get(CatalogFamilyFormat.getMetaKeyForRegion(regionInfo));
    get.addFamily(HConstants.CATALOG_FAMILY);
    try (Table t = getMetaHTable(connection)) {
      return t.get(get);
    }
  }
Gets the result in hbase:meta for the specified region.
@param connection connection we're using
@param regionInfo region we're looking for
@return result of the specified region
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java