hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4078) Handle replication in snapshots
Date Mon, 22 Oct 2012 18:42:13 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-4078:

Hi Aaron, we are going to add tests in some future JIRAs.  Let me create one for replication
> Handle replication in snapshots
> -------------------------------
>                 Key: HDFS-4078
>                 URL: https://issues.apache.org/jira/browse/HDFS-4078
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>              Labels: needs-test
>             Fix For: Snapshot (HDFS-2802)
>         Attachments: h4078_20121021.patch
> Without snapshots, file replication is the same as block replication.
> With snapshot, the file replication R_o of the original file and the file replication
R_s of the snapshot file could possibly be different.  Since the blocks are shared between
the original file and the snapshot file, block replication is max(R_o, R_s).  If there are
more than one snapshots, block replication is the max file replication of the original file
and all snapshot files.

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

View raw message