Alternatively, we can allow the client to query snapshot status on a list of given directories by the client. Thoughts?
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.