[
https://issues.apache.org/jira/browse/HADOOP-12185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613525#comment-14613525
]
Chris Douglas commented on HADOOP-12185:
----------------------------------------
I haven't looked at the context at all, but is there any reason to retain both
the List and the Map? Wouldn't it be sufficient to look at
{{childrenMap.values()}} for any context requiring the List?
> NetworkTopology is not efficient adding/getting/removing nodes
> --------------------------------------------------------------
>
> Key: HADOOP-12185
> URL: https://issues.apache.org/jira/browse/HADOOP-12185
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 2.7.0
> Reporter: Inigo Goiri
> Assignee: Inigo Goiri
> Attachments: HADOOP-12185-1.patch
>
>
> NetworkToplogy uses nodes with a list of children. The access to these
> children is slow as it's a linear search.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)