hadoop-hdfs-issues mailing list archives

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

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

Hadoop QA commented on HDFS-6620:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:


    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/7280//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7280//console

This message is automatically generated.

> 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

This message was sent by Atlassian JIRA

View raw message