Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4095

TestJobInProgress#testLocality uses a bogus topology

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 2.0.0-alpha
    • 1.1.0, 2.0.0-alpha
    • None
    • None
    • 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)
      

      Attachments

        1. MAPREDUCE-4095-b1.001.patch
          1 kB
          Colin McCabe
        2. MAPREDUCE-4095.001.patch
          1 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              eli2 Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: