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

          Eli Collins created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Link This issue is related to MAPREDUCE-4094 [ MAPREDUCE-4094 ]
          Eli Collins made changes -
          Project Hadoop Common [ 12310240 ] Hadoop Map/Reduce [ 12310941 ]
          Key HADOOP-8237 MAPREDUCE-4095
          Affects Version/s 1.1.0 [ 12317960 ]
          Affects Version/s 2.0.0 [ 12320354 ]
          Affects Version/s 1.1.0 [ 12316501 ]
          Target Version/s 1.1.0 [ 12316501 ] 1.1.0, 2.0.0 [ 12317960, 12320354 ]
          Colin Patrick McCabe made changes -
          Attachment MAPREDUCE-4095-b1.001.patch [ 12520998 ]
          Colin Patrick McCabe made changes -
          Attachment MAPREDUCE-4095.001.patch [ 12520999 ]
          Colin Patrick McCabe made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 2.0.0, 1.1.0 [ 12320354, 12317960 ] 1.1.0, 2.0.0 [ 12317960, 12320354 ]
          Eli Collins made changes -
          Summary HADOOP-8159 causes TestJobInProgress#testLocality to fail TestJobInProgress#testLocality uses a bogus topology
          Target Version/s 2.0.0, 1.1.0 [ 12320354, 12317960 ] 1.1.0, 2.0.0 [ 12317960, 12320354 ]
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Target Version/s 2.0.0, 1.1.0 [ 12320354, 12317960 ]
          Fix Version/s 0.24.0 [ 12317654 ]
          Fix Version/s 1.1.0 [ 12317960 ]
          Resolution Fixed [ 1 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Allen Wittenauer made changes -
          Fix Version/s 2.0.0-alpha [ 12320354 ]
          Fix Version/s 0.24.0 [ 12317654 ]

            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