hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-1366) reduce namenode startup time by optimising checkBlockInfo while loading fsimage
Date Wed, 30 Jul 2014 23:49:39 GMT

     [ https://issues.apache.org/jira/browse/HDFS-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer resolved HDFS-1366.
------------------------------------

    Resolution: Fixed

> 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: namenode
>            Reporter: dhruba borthakur
>         Attachments: FSImageRead_shortcut_proto.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message