Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3296

Some levels are skipped while creating the task cache in JobInProgress

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Consider the following piece of code

      JobInProgress.createCache()
      Node node = jobtracker.resolveAndAddToTopology(host);
      for (int j = 0; j < maxLevel; j++) {
                node = JobTracker.getParentNode(node, j);
                .....
      

      With maxLevel > 2 the caches will be created in the following order

      j node-level
      0 0
      1 1
      2 3
      3 6

      which is not as desired.

        Attachments

        1. HADOOP-3296-v3.patch
          16 kB
          Amar Kamat
        2. HADOOP-3296-v2.patch
          16 kB
          Amar Kamat
        3. HADOOP-3296.patch
          15 kB
          Amar Kamat

          Issue Links

            Activity

              People

              • Assignee:
                amar_kamat Amar Kamat
                Reporter:
                amar_kamat Amar Kamat
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: