Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5994DB09 for ; Sun, 21 Oct 2012 23:08:12 +0000 (UTC) Received: (qmail 55322 invoked by uid 500); 21 Oct 2012 23:08:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 55290 invoked by uid 500); 21 Oct 2012 23:08:12 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 55281 invoked by uid 99); 21 Oct 2012 23:08:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Oct 2012 23:08:12 +0000 Date: Sun, 21 Oct 2012 23:08:12 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1834689321.8043.1350860892449.JavaMail.jiratomcat@arcas> In-Reply-To: <281189270.67058.1350606963105.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-4078) Handle replication in snapshots MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas updated HDFS-4078: ---------------------------------- Labels: needs-test (was: ) > 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