Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 3205 invoked from network); 7 Oct 2010 22:41:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Oct 2010 22:41:53 -0000 Received: (qmail 73726 invoked by uid 500); 7 Oct 2010 22:41:52 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 73565 invoked by uid 500); 7 Oct 2010 22:41:52 -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 73557 invoked by uid 99); 7 Oct 2010 22:41:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 22:41:52 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 22:41:52 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o97MfW3K007810 for ; Thu, 7 Oct 2010 22:41:32 GMT Message-ID: <2085171.32941286491292065.JavaMail.jira@thor> Date: Thu, 7 Oct 2010 18:41:32 -0400 (EDT) From: "Matt Foley (JIRA)" To: hdfs-dev@hadoop.apache.org Subject: [jira] Created: (HDFS-1446) Refactor the start-time Directory Tree and Replicas Map constructors to share data and run volume-parallel MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Refactor the start-time Directory Tree and Replicas Map constructors to share data and run volume-parallel ---------------------------------------------------------------------------------------------------------- Key: HDFS-1446 URL: https://issues.apache.org/jira/browse/HDFS-1446 Project: Hadoop HDFS Issue Type: Sub-task Components: data-node Affects Versions: 0.20.2 Reporter: Matt Foley Assignee: Matt Foley Fix For: 0.22.0 Refactor the FSDir() and getVolumeMap() call chains in FSDataset, so they share data and run volume-parallel. Currently the two constructors for in-memory directory tree and replicas map run THREE full scans of the entire disk - once in FSDir(), once in recoverTempUnlinkedBlock(), and once in addToReplicasMap(). During each scan, a new File object is created for each of the 100,000 or so items in the native file system (for a 50,000-block node). This impacts GC as well as disk traffic. This work item is one of four sub-tasks for HDFS-1443, Improve Datanode startup time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.