Interface SnapshotFileCache.SnapshotFileInspector
- Enclosing class:
- SnapshotFileCache
static interface SnapshotFileCache.SnapshotFileInspector
- 
Method SummaryModifier and TypeMethodDescriptionfilesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir) Returns a collection of file names needed by the snapshot.
- 
Method Details- 
filesUnderSnapshotCollection<String> filesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir) throws IOException Returns a collection of file names needed by the snapshot.- Parameters:
- fs-- FileSystemwhere snapshot mainifest files are stored
- snapshotDir-- Pathto the snapshot directory to scan.
- Returns:
- the collection of file names needed by the snapshot.
- Throws:
- IOException
 
 
-