Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1366

reduce namenode startup time by optimising checkBlockInfo while loading fsimage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • namenode
    • None

    Description

      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.

      Attachments

        1. FSImageRead_shortcut_proto.patch
          2 kB
          Matthew Foley

        Activity

          People

            Unassigned Unassigned
            dhruba Dhruba Borthakur
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: