[ 
https://issues.apache.org/jira/browse/HDFS-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543371#comment-13543371
 ] 

Aaron T. Myers commented on HDFS-4230:
--------------------------------------

I think we should probably make listing all the snapshottable directories in 
the FS a super-user only privilege, since there may be snapshottable 
directories that ordinary users are not even aware exist, and whose existence 
they should not be able to know about. I also think we should probably add the 
getSnapshottableDirListing API to the HdfsAdmin class, so that users writing 
programs against HDFS that use/list snapshots will have a public API they can 
use.
                
> 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

Reply via email to