Hadoop Common
  1. Hadoop Common
  2. HADOOP-3296

Some levels are skipped while creating the task cache in JobInProgress

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

          Amar Kamat created issue -
          Amar Kamat made changes -
          Field Original Value New Value
          Description Consider the following piece of code
          {code:title=JobInProgress.createCache()|borderStyle=solid}
          Node node = jobtracker.resolveAndAddToTopology(host);
          for (int j = 0; j < maxLevel; j++) {
                    node = JobTracker.getParentNode(node, j);
                    .....
          {code}
          With {{maxLevel = 5}} 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.
          Consider the following piece of code
          {code:title=JobInProgress.createCache()|borderStyle=solid}
          Node node = jobtracker.resolveAndAddToTopology(host);
          for (int j = 0; j < maxLevel; j++) {
                    node = JobTracker.getParentNode(node, j);
                    .....
          {code}
          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.
          Amar Kamat made changes -
          Link This issue incorporates HADOOP-3244 [ HADOOP-3244 ]
          Amar Kamat made changes -
          Assignee Amar Kamat [ amar_kamat ]
          Robert Chansler made changes -
          Priority Blocker [ 1 ] Major [ 3 ]
          Fix Version/s 0.17.0 [ 12312913 ]
          Amar Kamat made changes -
          Attachment HADOOP-3296.patch [ 12380913 ]
          Amar Kamat made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Amar Kamat made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Amar Kamat made changes -
          Attachment HADOOP-3296-v2.patch [ 12381572 ]
          Amar Kamat made changes -
          Attachment HADOOP-3296-v3.patch [ 12381954 ]
          Amar Kamat made changes -
          Fix Version/s 0.18.0 [ 12312972 ]
          Amar Kamat made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Chris Douglas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s mapred [ 12310690 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development