Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 18160 invoked from network); 28 Aug 2009 00:19:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 00:19:32 -0000 Received: (qmail 63032 invoked by uid 500); 28 Aug 2009 00:19:32 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 62980 invoked by uid 500); 28 Aug 2009 00:19:32 -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 62970 invoked by uid 99); 28 Aug 2009 00:19:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 00:19:32 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA 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; Fri, 28 Aug 2009 00:19:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CC324234C495 for ; Thu, 27 Aug 2009 17:19:01 -0700 (PDT) Message-ID: <1211150042.1251418741835.JavaMail.jira@brutus> Date: Thu, 27 Aug 2009 17:19:01 -0700 (PDT) From: "Jitendra Nath Pandey (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-15) All replicas of a block end up on only 1 rack 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 [ https://issues.apache.org/jira/browse/HDFS-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748624#action_12748624 ] Jitendra Nath Pandey commented on HDFS-15: ------------------------------------------ Patch updated with "topology.script.file.name" > All replicas of a block end up on only 1 rack > --------------------------------------------- > > Key: HDFS-15 > URL: https://issues.apache.org/jira/browse/HDFS-15 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Hairong Kuang > Assignee: Jitendra Nath Pandey > Priority: Critical > Fix For: 0.21.0 > > Attachments: HDFS-15.4.patch, HDFS-15.5.patch, HDFS-15.6.patch, HDFS-15.patch, HDFS-15.patch.2, HDFS-15.patch.3 > > > HDFS replicas placement strategy guarantees that the replicas of a block exist on at least two racks when its replication factor is greater than one. But fsck still reports that the replicas of some blocks end up on one rack. > The cause of the problem is that decommission and corruption handling only check the block's replication factor but not the rack requirement. When an over-replicated block loses a replica due to decomission, corruption, or heartbeat lost, namenode does not take any action to guarantee that remaining replicas are on different racks. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.