[
https://issues.apache.org/jira/browse/HADOOP-8144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435028#comment-13435028
]
Hudson commented on HADOOP-8144:
--------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #344 (See
[https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/344/])
svn merge -c 1330613 FIXES: HDFS-3258. Test for HADOOP-8144
(pseudoSortByDistance in NetworkTopology for first rack local node).
Contributed by Junping Du (Revision 1372956)
svn merge -c 1325367 FIXES: HADOOP-8144. pseudoSortByDistance in
NetworkTopology doesn't work properly if no local node and first node is local
rack node. Contributed by Junping Du (Revision 1372955)
Result = SUCCESS
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1372956
Files :
*
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/net/TestNetworkTopology.java
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1372955
Files :
*
/hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetworkTopology.java
> 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
> Fix For: 0.23.3, 2.0.0-alpha
>
> Attachments: HADOOP-8144-1.patch, hadoop-8144.txt, hadoop-8144.txt,
> HADOOP-8144-v2.patch
>
>
> 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