You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2010/09/02 07:34:53 UTC

[jira] Created: (HDFS-1366) reduce namenode startup time by optimising checkBlockInfo while loading fsimage

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.