[ 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)