hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4242) Map.Entry is incorrectly used in LeaseManager
Date Fri, 30 Nov 2012 01:29:58 GMT

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

Aaron T. Myers commented on HDFS-4242:
--------------------------------------

+1, the patch looks good to me.
                
> Map.Entry is incorrectly used in LeaseManager
> ---------------------------------------------
>
>                 Key: HDFS-4242
>                 URL: https://issues.apache.org/jira/browse/HDFS-4242
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h4242_20121129.patch
>
>
> As Daryn pointed out, the behavior of [Map.Entry|http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html]
is undefined after the iteration or modifications of the map. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message