HADOOP-8159 causes TestJobInProgress#testLocality to fail
---------------------------------------------------------
Key: HADOOP-8237
URL: https://issues.apache.org/jira/browse/HADOOP-8237
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 1.1.0
Reporter: Eli Collins
Assignee: Colin Patrick McCabe
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