Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-511

Redundant block searches in BlockManager.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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().

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

        Activity

          People

          • Assignee:
            Konstantin Shvachko
            Reporter:
            Konstantin Shvachko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development