Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 33761 invoked from network); 12 Aug 2009 18:33:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 18:33:32 -0000 Received: (qmail 54270 invoked by uid 500); 12 Aug 2009 18:33:39 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 54202 invoked by uid 500); 12 Aug 2009 18:33:39 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 54192 invoked by uid 99); 12 Aug 2009 18:33:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 18:33:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 18:33:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EDC8729A0018 for ; Wed, 12 Aug 2009 11:33:14 -0700 (PDT) Message-ID: <1025643093.1250101994973.JavaMail.jira@brutus> Date: Wed, 12 Aug 2009 11:33:14 -0700 (PDT) From: "Hairong Kuang (JIRA)" To: hdfs-dev@hadoop.apache.org Subject: [jira] Created: (HDFS-543) Break FSDatasetInterface#writeToBlock() into writeToTemporary, writeToRBW, and append MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Break FSDatasetInterface#writeToBlock() into writeToTemporary, writeToRBW, and append ------------------------------------------------------------------------------------- Key: HDFS-543 URL: https://issues.apache.org/jira/browse/HDFS-543 Project: Hadoop HDFS Issue Type: Sub-task Components: data-node Affects Versions: Append Branch Reporter: Hairong Kuang Assignee: Hairong Kuang Fix For: Append Branch FSDatasetInterface#writeToBlock() currently allows to create/recover a temporary replica, create/recover a RBW replica, or append to a replica. The implementation of the method in FSDataset is very complicated and error prone. I'd like to break this method into 3: 1. writeToTemporary allows to create a Temporary replica or recover from a packet error for a Tempoary replica; 2. writeToRBW allows to create a RBW replica or recover from a packet error for a RBW replica; 3. append allows to append to an existing Finalized replica. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.