hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4097) provide CLI support for create/delete/list snapshots
Date Tue, 23 Oct 2012 05:11:12 GMT

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

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

bq. Aaron, a user should be able create snapshots for the directories he is allowed to create
snapshots on.

Right, but the question is what directories can a user create snapshots on? Is it a super-user
only operation? This is why I asked the following in HDFS-2802:

{quote}
One question regarding the user experience that I don't see described in the document: will
creating a snapshot require super user privileges? Or can any user create a snapshot of a
subdirectory? If the latter, what permissions are required to create a snapshot? What if the
user doesn't have permissions on some files under the subtree of the snapshot target? Does
this result in an incomplete snapshot? Or a completely failed snapshot?
{quote}

To which you responded:

{quote}
Will add usecases
{quote}

So, what's the answer to my question?
                
> provide CLI support for create/delete/list snapshots
> ----------------------------------------------------
>
>                 Key: HDFS-4097
>                 URL: https://issues.apache.org/jira/browse/HDFS-4097
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs client, name-node
>    Affects Versions: Snapshot (HDFS-2802)
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>              Labels: needs-test
>         Attachments: HDFS-4097.patch, HDFS-4097.patch
>
>
> provide CLI support for create/delete/list snapshots

--
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

Mime
View raw message