[ 
https://issues.apache.org/jira/browse/HDFS-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-4242:
-----------------------------------------

    Attachment: h4242_20121129.patch

h4242_20121129.patch: return Map<String, Lease> instead of 
List<Map.Entry<String, Lease>>.
                
> 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

Reply via email to