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

ReplicasMap remove has a bug in generation stamp comparison

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • 0.21.0
    • datanode
    • None
    • Reviewed
    • 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
          0.6 kB
          Suresh Srinivas
        2. hdfs-897.patch
          4 kB
          Suresh Srinivas
        3. hdfs-897.patch
          4 kB
          Suresh Srinivas

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: