hadoop-hdfs-issues mailing list archives

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

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

Suresh Srinivas commented on HDFS-4097:
---------------------------------------

The design document already covers admin operation for allowing snapshots and marking it as
snapshottable. Here are the Admin CLIs for that:
* Making a directory snapshottable: {{hadoop dfsadmin -allowSnapshot <path>}}
* Making a directory not snapshottable: {{hadoop dfsadmin -disallowSnapshot <path>}}

User/Admin CLIs for creating, deleting and listing snapshots:
* Creating a snapshot: {{hadoop dfs -createSnapshot <snapname> <path> <ro/rw>}}
* Deleting a snapshot: {{hadoop dfs –deleteSnapshot <snapname>}}
* Listing of the snapshots: {{hadoop dfs -listSnapshot}}

Will try to get an updated document posted by tomorrow with this information.


                
> 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