static interface SnapshotFileCache.SnapshotFileInspector
Modifier and Type | Method and Description |
---|---|
Collection<String> |
filesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path snapshotDir)
Returns a collection of file names needed by the snapshot.
|
Collection<String> filesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir) throws IOException
fs
- FileSystem
where snapshot mainifest files are storedsnapshotDir
- Path
to the snapshot directory to scan.IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.