You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/04/26 23:32:16 UTC

[jira] [Resolved] (HDFS-4759) snapshotDiff of two invalid snapshots but with same name returns success

     [ https://issues.apache.org/jira/browse/HDFS-4759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE resolved HDFS-4759.
------------------------------------------

    Resolution: Fixed

I have committed this.  Thanks, Jing!
                
> snapshotDiff of two invalid snapshots but with same name returns success
> ------------------------------------------------------------------------
>
>                 Key: HDFS-4759
>                 URL: https://issues.apache.org/jira/browse/HDFS-4759
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Ramya Sunil
>            Assignee: Jing Zhao
>            Priority: Minor
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: HDFS-4759.001.patch
>
>
> snapshotDiff of two invalid snapshots which have the same names returns a success.
> $ hadoop dfs -ls /user/foo/hdfs-snapshots/.snapshot
> Found 1 items
> drwx------   - foo foo          0 2013-04-26 00:53 /user/foo/hdfs-snapshots/.snapshot/s1
> $ hadoop snapshotDiff /user/foo/hdfs-snapshots invalid invalid 
> Difference between snapshot invalid and snapshot invalid under directory /user/foo/hdfs-snapshots:
> -bash-4.1$ echo $?
> 0

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