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

Redundant block searches in BlockManager.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • namenode
    • None
    • Reviewed

    Description

      Some searches for a block in blocksMap are redundant and should be eliminated.
      BlockManager.addStoredBlock() contain unnecessary explicit and hidden (inside markBlockAsCorrupt()) calls of blocksMap.getStoredBlock().

      Attachments

        1. BlockManager.patch
          14 kB
          Konstantin Shvachko
        2. BlockManager.patch
          14 kB
          Konstantin Shvachko
        3. BlockManager.patch
          14 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: