hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8144) pseudoSortByDistance in NetworkTopology doesn't work properly if no local node and first node is local rack node
Date Thu, 12 Apr 2012 00:15:18 GMT

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

Eli Collins commented on HADOOP-8144:
-------------------------------------

Hey Junping,

Thanks for contributing!  Looks like your test in HDFS-3258 found another bug, it yields in
order 1,5,3 even with your patch (which I think is correct). Mind taking a look?
                
> pseudoSortByDistance in NetworkTopology doesn't work properly if no local node and first
node is local rack node
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8144
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8144
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 1.0.0, 0.23.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>            Priority: Minor
>              Labels: patch
>         Attachments: HADOOP-8144-1.patch, HADOOP-8144-v2.patch, hadoop-8144.txt, hadoop-8144.txt
>
>
> pseudoSortByDistance in NetworkTopology.java should sort nodes according to its distance
with reader as local node, local rack node, ... 
> But if there is no local node with reader in nodes and the first node is local rack node
with reader, then it will put a random node at position 0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message