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

ReplicasMap remove has a bug in generation stamp comparison

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fixed a bug in ReplicasMap.remove method, which compares the generation stamp of the replica removed to itself instead of the the block passed to the method to identify the replica to be removed.

      Description

      In ReplicasMap.remove(block), instead of comparing generation stamp of the entry in the map to that of the given block, the generation stamp of entry in the map is compared to itself.

        Attachments

        1. hdfs-897.patch
          4 kB
          Suresh Srinivas
        2. hdfs-897.patch
          4 kB
          Suresh Srinivas
        3. hdfs-897.patch
          0.6 kB
          Suresh Srinivas

          Activity

            People

            • Assignee:
              sureshms Suresh Srinivas
              Reporter:
              sureshms Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: