hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3258) Test for HADOOP-8144 (pseudoSortByDistance in NetworkTopology for first rack local node)
Date Thu, 12 Apr 2012 10:05:18 GMT

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

Junping Du commented on HDFS-3258:
----------------------------------

Hi Eli,
   pseudoSortByDistance() doesn't use getDistance() to calculate distance between nodes to
sort in a precisely sequence but just a "pseudo" sort and figure out what's the first (node-local
in general case) and the second (rack-local). The previous one to sort "5,3,1" just works
well occasionally as it happen to swap 1 with 5 (5,3,1 -> 1,3,5) then keep order there.
The test of "3,5,1" will also failed.
   Do we need a precisely sort here?

Thanks,

Junping
                
> Test for HADOOP-8144 (pseudoSortByDistance in NetworkTopology for first rack local node)
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-3258
>                 URL: https://issues.apache.org/jira/browse/HDFS-3258
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>            Reporter: Eli Collins
>            Assignee: Junping Du
>         Attachments: hdfs-3258.txt
>
>
> For updating TestNetworkTopology to cover HADOOP-8144.

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