Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 61665 invoked from network); 17 Mar 2008 21:34:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2008 21:34:10 -0000 Received: (qmail 16508 invoked by uid 500); 17 Mar 2008 21:34:07 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 16493 invoked by uid 500); 17 Mar 2008 21:34:07 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 16480 invoked by uid 99); 17 Mar 2008 21:34:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 14:34:07 -0700 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; Mon, 17 Mar 2008 21:33:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92236234C0AB for ; Mon, 17 Mar 2008 14:32:24 -0700 (PDT) Message-ID: <105103617.1205789544597.JavaMail.jira@brutus> Date: Mon, 17 Mar 2008 14:32:24 -0700 (PDT) From: "lohit vijayarenu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2559) DFS should place one replica per rack 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-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579617#action_12579617 ] lohit vijayarenu commented on HADOOP-2559: ------------------------------------------ the failed test was due to timeout. I re-ran the test locally and it passed. > DFS should place one replica per rack > ------------------------------------- > > Key: HADOOP-2559 > URL: https://issues.apache.org/jira/browse/HADOOP-2559 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Reporter: Runping Qi > Assignee: lohit vijayarenu > Attachments: HADOOP-2559-1-2.patch, HADOOP-2559-1-3.patch, HADOOP-2559-1-4.patch, HADOOP-2559-1.patch, HADOOP-2559-1.patch, HADOOP-2559-2.patch, Patch1_Block_Report.png.jpg, Patch1_Rack_Node_Mapping.jpg, Patch2 Block Report.jpg, Patch2_Rack_Node_Mapping.jpg, Trunk_Block_Report.png, Trunk_Rack_Node_Mapping.jpg > > > Currently, when writing out a block, dfs will place one copy to a local data node, one copy to a rack local node > and another one to a remote node. This leads to a number of undesired properties: > 1. The block will be rack-local to two tacks instead of three, reducing the advantage of rack locality based scheduling by 1/3. > 2. The Blocks of a file (especiallya large file) are unevenly distributed over the nodes: One third will be on the local node, and two thirds on the nodes on the same rack. This may make some nodes full much faster than others, > increasing the need of rebalancing. Furthermore, this also make some nodes become "hot spots" if those big > files are popular and accessed by many applications. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.