- copySnapshotForScanner
- <init>
- restoreHdfsRegions
Restore specified regions by restoring content to the snapshot state.
- cloneHdfsRegions
Clone specified regions. For each region create a new region and create a
HFileLink for each hfile.
- cloneRegionInfo
Create a new HRegionInfo from the snapshot region info. Keep the same startKey,
endKey, regionId and
- getTableRegionFamilyFiles
- getTableRegions
- removeHdfsRegions
Remove specified regions from the file-system, using the archiver.
- restoreReferenceFile
Create a new Reference as copy of the source one.>
The source table looks like:
1234/abc (or
- restoreStoreFile
Create a new HFileLink to reference the store file.The store file in the
snapshot can be a simple hf
- getRegionHFileReferences
- restoreRegion
Restore region by removing files not in the snapshot and adding the missing ones
from the snapshot.