Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15513

Allow client to query snapshot status on one directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • hdfs, hdfs-client
    • None

    Description

      Alternatively, we can allow the client to query snapshot status on a list of given directories by the client. Thoughts?

      Rationale:
      At the moment, we could only retrieve the full list of snapshottable directories with getSnapshottableDirListing(). This leads to the inefficiency In HDFS-15492 that we have to get the entire list of snapshottable directory to check if a file being deleted is inside a snapshottable directory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: