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 "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/04/02 22:35:27 UTC

[jira] [Commented] (MAPREDUCE-4095) TestJobInProgress#testLocality uses a bogus topology

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244574#comment-13244574 ] 

Hudson commented on MAPREDUCE-4095:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #1972 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1972/])
    MAPREDUCE-4095. TestJobInProgress#testLocality uses a bogus topology. Contributed by Colin Patrick McCabe (Revision 1308519)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1308519
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestJobInProgress.java

                
> 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