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

        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Konstantin Shvachko made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Attachment BlockManager.patch [ 12415060 ]
        Konstantin Shvachko made changes -
        Attachment BlockManager.patch [ 12414934 ]
        Konstantin Shvachko made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Konstantin Shvachko made changes -
        Field Original Value New Value
        Attachment BlockManager.patch [ 12414826 ]
        Konstantin Shvachko created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development