private void cloneRegion(final HRegion region, final RegionInfo snapshotRegionInfo,
    final SnapshotRegionManifest manifest) throws IOException {
    cloneRegion(region.getRegionInfo(), new Path(tableDir, region.getRegionInfo().getEncodedName()),
      snapshotRegionInfo, manifest);
  }
Clone region directory content from the snapshot info. Each region is encoded with the table
name, so the cloned region will have a different region name. Instead of copying the hfiles a
HFileLink is created.
@param region {@link HRegion} cloned
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java