hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-897) ReplicasMap remove has a bug in generation stamp comparison
Date Thu, 14 Jan 2010 22:19:54 GMT

    [ https://issues.apache.org/jira/browse/HDFS-897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800392#action_12800392
] 

Suresh Srinivas commented on HDFS-897:
--------------------------------------

The failure of tests TestDecommissioningStatus and TestBlockMissingException is not related
to the patch. 

> ReplicasMap remove has a bug in generation stamp comparison
> -----------------------------------------------------------
>
>                 Key: HDFS-897
>                 URL: https://issues.apache.org/jira/browse/HDFS-897
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: hdfs-897.patch, hdfs-897.patch
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message