[
https://issues.apache.org/jira/browse/HDFS-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-4230:
----------------------------
Attachment: HDFS-4230.003.patch
Thanks for the comments Nicholas and Suresh!
A new patch is uploaded, in which I keep the SnapshottableDirectoryStatus
considering the user does not have any information about snapshottable
directories (even the paths) when she uses this functionality. I addressed
other comments in the new patch, including 1) to include the complete path in
SnapshottableDirectoryStatus, and 2) to move the code that removes
snapshottableDirs to the end of FSDirectory#unprotectedRenameTo(..).
> Listing all the current snapshottable directories
> -------------------------------------------------
>
> Key: HDFS-4230
> URL: https://issues.apache.org/jira/browse/HDFS-4230
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-4230.001.patch, HDFS-4230.001.patch,
> HDFS-4230.002.patch, HDFS-4230.003.patch
>
>
> Provide functionality to provide user with metadata about all the
> snapshottable directories.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira