Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 16684 invoked from network); 20 Aug 2009 07:19:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 07:19:19 -0000 Received: (qmail 53868 invoked by uid 500); 20 Aug 2009 07:19:38 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 53830 invoked by uid 500); 20 Aug 2009 07:19:38 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 53820 invoked by uid 99); 20 Aug 2009 07:19:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 07:19:38 +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; Thu, 20 Aug 2009 07:19:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CC1A229A0012 for ; Thu, 20 Aug 2009 00:19:14 -0700 (PDT) Message-ID: <787315253.1250752754824.JavaMail.jira@brutus> Date: Thu, 20 Aug 2009 00:19:14 -0700 (PDT) From: "Ravi Phulari (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5556) A few improvements to DataNodeCluster 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/HADOOP-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Phulari updated HADOOP-5556: --------------------------------- Status: Patch Available (was: Open) HADOOP-5556.patch is for 0.21 , patch specific to pro split code. successfully ran ant test-core , waiting for Hudson . > A few improvements to DataNodeCluster > ------------------------------------- > > Key: HADOOP-5556 > URL: https://issues.apache.org/jira/browse/HADOOP-5556 > Project: Hadoop Common > Issue Type: Bug > Components: test > Reporter: Hairong Kuang > Assignee: Hairong Kuang > Fix For: 0.21.0 > > Attachments: DataNodeCluster.patch, HADOOP-5556.patch > > > DataNodeCluster is a great tool to simulate a large scale DFS cluster using a small set of machines. A few suggestions to improve this tool: > # DataNodeCluster uses MiniDFSCluster#startDataNode to start multiple instances of DataNode on one machine. MiniDFSCluster sets DataNode's address to be 127.0.0.1. We should allow to set its address to 0.0.0.0 so DataNodes in different machines could communicate. > # Currently the size of the blocks injected to DataNode and created in CreatedEditsLog is hardcoded as 10. It would be more convenient if this could be configurable. Also we need to make sure that both use the same block size. > # If the replication factor of blocks is larger than 1, currently a DataNode in DataNodeCluster will be injected blocks multiple times and therefore it sends block reports to NameNode multiple times. Initial block reports contain only a portion of its blocks and therefore may cause unnecessary block replications. It would be cleaner if only one block report with all its blocks is sent. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.