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

Allow client to query snapshot status on one directory

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: hdfs, hdfs-client
    • Labels:
      None
    • Target Version/s:

      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

              • Assignee:
                Unassigned
                Reporter:
                smeng Siyao Meng
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: