You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Colin Patrick McCabe (Updated) (JIRA)" <ji...@apache.org> on 2012/04/02 19:59:26 UTC

[jira] [Updated] (MAPREDUCE-4095) HADOOP-8159 causes TestJobInProgress#testLocality to fail

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

Colin Patrick McCabe updated MAPREDUCE-4095:
--------------------------------------------

    Attachment: MAPREDUCE-4095-b1.001.patch

* TestJobInProgress: don't create imbalanced topology (branch-1 version)
                
> HADOOP-8159 causes TestJobInProgress#testLocality to fail
> ---------------------------------------------------------
>
>                 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
>         Attachments: MAPREDUCE-4095-b1.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