Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 47179 invoked from network); 8 Feb 2011 08:52:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 08:52:24 -0000 Received: (qmail 30536 invoked by uid 500); 8 Feb 2011 08:52:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 30388 invoked by uid 500); 8 Feb 2011 08:52:19 -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 30360 invoked by uid 99); 8 Feb 2011 08:52:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 08:52:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 08:52:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6E32A199570 for ; Tue, 8 Feb 2011 08:51:57 +0000 (UTC) Date: Tue, 8 Feb 2011 08:51:57 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <11316694.1951.1297155117447.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <437159414.979.1296517289091.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HDFS-1606) Provide a stronger data guarantee in the write pipeline 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-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991839#comment-12991839 ] Tsz Wo (Nicholas), SZE commented on HDFS-1606: ---------------------------------------------- A straightforward approach is to {panel} \(i) start \(\*) right after #1 and stall #2 until \(*) is done. {panel} If we feel comfortable, we may {panel} (ii) start \(*) right after #1 in a separated thread and start #2 concurrently. Once #3 is done, join the thread and then combine the old data with the new data before #4. {panel} Depending on the block size, a partial block may have several hundreds megabytes. So \(*) is an expensive operation which may potentially take a long time (in the order of seconds). (ii) has a lower latency but \(i) is a simpler solution. How about we have \(i) in the first implementation and have (ii) as a future improvement? > Provide a stronger data guarantee in the write pipeline > ------------------------------------------------------- > > Key: HDFS-1606 > URL: https://issues.apache.org/jira/browse/HDFS-1606 > Project: Hadoop HDFS > Issue Type: New Feature > Components: data-node, hdfs client > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > > In the current design, if there is a datanode/network failure in the write pipeline, DFSClient will try to remove the failed datanode from the pipeline and then continue writing with the remaining datanodes. As a result, the number of datanodes in the pipeline is decreased. Unfortunately, it is possible that DFSClient may incorrectly remove a healthy datanode but leave the failed datanode in the pipeline because failure detection may be inaccurate under erroneous conditions. > We propose to have a new mechanism for adding new datanodes to the pipeline in order to provide a stronger data guarantee. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira