hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inigo Goiri (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12185) NetworkTopology is not efficient adding/getting/removing nodes
Date Fri, 03 Jul 2015 23:43:04 GMT

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

Inigo Goiri updated HADOOP-12185:
---------------------------------
    Attachment: HADOOP-12185-1.patch

Use a HashMap to search in children.

> 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)

Mime
View raw message