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

Eli Collins updated MAPREDUCE-4095:
-----------------------------------

          Resolution: Fixed
       Fix Version/s: 1.1.0
                      0.24.0
    Target Version/s:   (was: 2.0.0, 1.1.0)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

I've committed this to trunk and branch-1. I didn't merge to branch-2 because 
this test was removed from branch-2.
                
> TestJobInProgress#testLocality uses a bogus topology
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-4095
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4095
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 2.0.0
>            Reporter: Eli Collins
>            Assignee: Colin Patrick McCabe
>             Fix For: 0.24.0, 1.1.0
>
>         Attachments: MAPREDUCE-4095-b1.001.patch, MAPREDUCE-4095.001.patch
>
>
> The following in TestJobInProgress#testLocality:
> {code}
>     Node r2n4 = new NodeBase("/default/rack2/s1/node4");
>     nt.add(r2n4);
> {code}
> violates the check introduced by HADOOP-8159:
> {noformat}
> Testcase: testLocality took 0.005 sec
>         Caused an ERROR
> Invalid network topology. You cannot have a rack and a non-rack node at the 
> same level of the network topology.
> org.apache.hadoop.net.NetworkTopology$InvalidTopologyException: Invalid 
> network topology. You cannot have a rack and a non-rack node at the same 
> level of the network topology.
>         at org.apache.hadoop.net.NetworkTopology.add(NetworkTopology.java:349)
>         at 
> org.apache.hadoop.mapred.TestJobInProgress.testLocality(TestJobInProgress.java:232)
> {noformat}

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

        

Reply via email to