Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4095

TestJobInProgress#testLocality uses a bogus topology

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 2.0.0-alpha
    • Fix Version/s: 1.1.0, 2.0.0-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The following in TestJobInProgress#testLocality:

          Node r2n4 = new NodeBase("/default/rack2/s1/node4");
          nt.add(r2n4);
      

      violates the check introduced by HADOOP-8159:

      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)
      
      1. MAPREDUCE-4095.001.patch
        1 kB
        Colin Patrick McCabe
      2. MAPREDUCE-4095-b1.001.patch
        1 kB
        Colin Patrick McCabe

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Colin Patrick McCabe
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development