You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Junping Du (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 17:26:57 UTC
[jira] [Created] (HADOOP-8144) pseudoSortByDistance in
NetworkTopology doesn't work properly if no local node and first node is
local rack node
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
Priority: Minor
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