public RegionInfo cloneRegionInfo(final RegionInfo snapshotRegionInfo) {
    return cloneRegionInfo(tableDesc.getTableName(), snapshotRegionInfo);
  }
Create a new {@link RegionInfo} from the snapshot region info. Keep the same startKey, endKey,
regionId and split information but change the table name.
@param snapshotRegionInfo Info for region to clone.
@return the new HRegion instance
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java