hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2767) org.apache.hadoop.net.NetworkTopology.InnerNode#getLeaf does not return the last node on a rack when used with an excluded node
Date Thu, 07 Feb 2008 14:56:09 GMT

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

dhruba borthakur updated HADOOP-2767:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks Mark and Hairong!

> org.apache.hadoop.net.NetworkTopology.InnerNode#getLeaf does not return the last node
on a rack when used with an excluded node
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2767
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2767
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.15.3
>            Reporter: Mark Butler
>            Assignee: Hairong Kuang
>            Priority: Minor
>             Fix For: 0.17.0
>
>         Attachments: excludedLeaf.patch, excludedLeaf2.patch, excludedLeaf3.patch, excludedLeaf4.patch,
NetworkTopologyTest.java
>
>
> I have written some test code that shows NetworkTopology.InnerNode#getLeaf will never
return the last node on the rack if it is called with an excludedNode (for example the first
node on the rack). 
> Consequently I suspect that NetworkTopology.chooseRandom() will never returns the last
node on the remote rack for the second replica in DFS. 
> I have some test code that demonstrates this problem at the getLeaf level, although it
is necessary to change the visibility of the NetworkTopology.InnerNode, NetworkTopology.InnerNode#getLeaf
and NetworkTopology.getNode from private to package default to run the test. 
> TODO: Demonstrate problem at NetworkTopology.chooseRandom level, then submit candidate
fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message