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

Some levels are skipped while creating the task cache in JobInProgress

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.17.0
    • 0.18.0
    • None
    • None
    • 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.patch
          15 kB
          Amar Kamat
        2. HADOOP-3296-v2.patch
          16 kB
          Amar Kamat
        3. HADOOP-3296-v3.patch
          16 kB
          Amar Kamat

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: