Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 65523 invoked from network); 2 Sep 2010 05:35:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Sep 2010 05:35:38 -0000 Received: (qmail 98814 invoked by uid 500); 2 Sep 2010 05:35:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 98718 invoked by uid 500); 2 Sep 2010 05:35:35 -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 98698 invoked by uid 99); 2 Sep 2010 05:35:34 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 05:35:34 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 05:35:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o825YsbW005685 for ; Thu, 2 Sep 2010 05:34:54 GMT Message-ID: <11532715.133651283405694191.JavaMail.jira@thor> Date: Thu, 2 Sep 2010 01:34:54 -0400 (EDT) From: "dhruba borthakur (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Created: (HDFS-1366) reduce namenode startup time by optimising checkBlockInfo while loading fsimage 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 reduce namenode startup time by optimising checkBlockInfo while loading fsimage --------------------------------------------------------------------------------- Key: HDFS-1366 URL: https://issues.apache.org/jira/browse/HDFS-1366 Project: Hadoop HDFS Issue Type: Improvement Components: name-node Reporter: dhruba borthakur The namenode spends about 10 minutes reading in a 14 GB fsimage file into memory and creating all the in-memory data structures. A jstack based debugger clearly shows that most of the time during the fsimage load is spent in BlocksMap.checkBlockInfo. There is a easy way to optimize this method especially for this code path. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.