hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6620) Snapshot docs should specify about preserve options with cp command
Date Thu, 03 Jul 2014 16:20:24 GMT

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

Hudson commented on HDFS-6620:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5822 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5822/])
HDFS-6620. Snapshot docs should specify about preserve options with cp command. Contributed
by Stephen Chu. (umamahesh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1607685)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestXAttrWithSnapshot.java


> Snapshot docs should specify about preserve options with cp command
> -------------------------------------------------------------------
>
>                 Key: HDFS-6620
>                 URL: https://issues.apache.org/jira/browse/HDFS-6620
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 3.0.0, 2.5.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Stephen Chu
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HDFS-6620.001.patch, HDFS-6620.002.patch
>
>
> Currently snapshot docs contains the cp command details for copying the snapshot files
to regular dfs tree.
> http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-hdfs/HdfsSnapshots.html#Snapshot_Paths
> Copying a file from snapshot s0:
> hdfs dfs -cp /foo/.snapshot/s0/bar /tmp
> Since there are important properties(acls, xattrs..etc) for a file may need to copy back.
But looking at this doc may mislead to copy with out using any options. So, It may be worth
mentioning aboit that properties. Infact it should copy all properties  by default from snapshot
file. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message