Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 91612 invoked from network); 6 Jun 2007 18:19:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 18:19:48 -0000 Received: (qmail 22953 invoked by uid 500); 6 Jun 2007 18:19:50 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 22928 invoked by uid 500); 6 Jun 2007 18:19:50 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 22919 invoked by uid 99); 6 Jun 2007 18:19:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 11:19:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 11:19:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 35F0A71418E for ; Wed, 6 Jun 2007 11:19:26 -0700 (PDT) Message-ID: <5025293.1181153966218.JavaMail.jira@brutus> Date: Wed, 6 Jun 2007 11:19:26 -0700 (PDT) From: "Koji Noguchi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1300) deletion of excess replicas does not take into account 'rack-locality' In-Reply-To: <8775280.1177621515285.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502015 ] Koji Noguchi commented on HADOOP-1300: -------------------------------------- > > is there any reasons to adopt different policies for allocation and deletion? > For allocation, where to place a replica has an effect on performance. But for deletion, the cost of deleting any replica is the same. I meant when replication is set to 4 or higher, are we "maximizing the number of unique racks" for the rest of the blocks? Talking with Hairong, now I understand that we don't do this in allocation/replication to simplify the code. Thanks! > deletion of excess replicas does not take into account 'rack-locality' > ---------------------------------------------------------------------- > > Key: HADOOP-1300 > URL: https://issues.apache.org/jira/browse/HADOOP-1300 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: Koji Noguchi > Assignee: Hairong Kuang > Attachments: excessDel.patch > > > One rack went down today, resulting in one missing block/file. > Looking at the log, this block was originally over-replicated. > 3 replicas on one rack and 1 replica on another. > Namenode decided to delete the latter, leaving 3 replicas on the same rack. > It'll be nice if the deletion is also rack-aware. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.