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

Cleanup tasks are scheduled using high memory configuration, leaving tasks in unassigned state.


    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: jobtracker
    • Labels:
    • Hadoop Flags:
    • Release Note:
      Makes taskCleanup tasks to use 1 slot even for high memory jobs.


      A cleanup task is launched for a failed task of a job. This task is created based on the TIP of the failed task, and so is marked as requiring as many slots to run as the original task itself. For instance, if a high RAM job requires 2 slots per task, a cleanup task of the high RAM jobs requires 2 slots as well.

      Further, a cleanup task is scheduled to a tasktracker by the jobtracker itself and not the scheduler. While doing so, the JT doesn't check if the TT has enough slots free to run a high RAM cleanup task - always assuming 1 slot is enough. Thus, a task is oversubscribed to the TT.

      However, on the TT, before launch, we check that the task can actually run, and wait for so many slots to become available. If the slots don't get freed quickly, we will have tasks stuck in an unassigned state.


        1. yhadoop-0.20-MR1028.patch
          1 kB
          Jothi Padmanabhan
        2. MR-1028.v1.1.patch
          13 kB
          Ravi Gummadi
        3. MR-1028.v1.patch
          12 kB
          Ravi Gummadi
        4. MR-1028.patch
          1 kB
          Ravi Gummadi



            • Assignee:
              ravidotg Ravi Gummadi
              yhemanth Hemanth Yamijala
            • Votes:
              0 Vote for this issue
              4 Start watching this issue


              • Created: