Interface SnapshotFileCache.SnapshotFileInspector

Enclosing class:
SnapshotFileCache

  • Method Summary

    Modifier and Type
    Method
    Description
    filesUnderSnapshot(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir)
    Returns a collection of file names needed by the snapshot.
  • Method Details

    • filesUnderSnapshot

      Collection<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 - FileSystem where snapshot mainifest files are stored
      snapshotDir - Path to the snapshot directory to scan.
      Returns:
      the collection of file names needed by the snapshot.
      Throws:
      IOException