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

Suresh Srinivas commented on HDFS-4078:
---------------------------------------

+1 for the patch. The renaming of the method or introduction of new method 
could be done in trunk to reduce the diff of this branch with trunk.
                
> 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
>         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

Reply via email to