Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5079

Recovery should restore task state from job history info directly

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.7
    • Fix Version/s: 0.23.7, 2.1.0-beta
    • Component/s: mr-am
    • Labels:
      None

      Description

      We've encountered a lot of hanging issues during MR-AM recovery because the state machines don't always end up in the same states after recovery. This is especially true when speculative execution is enabled. It should be straightforward to restore task and task attempt states directly from the TaskInfo and TaskAttemptInfo records in the job history file to avoid relying on the task state machines ending up in the proper states with the proper number of attempts.

      This should be a more robust solution that would also give us the option of recovering start time and log locations for tasks that were in-progress when the AM crashed.

      1. MAPREDUCE-5079.patch
        129 kB
        Jason Lowe
      2. MAPREDUCE-5079.patch
        127 kB
        Jason Lowe
      3. MAPREDUCE-5079.patch
        126 kB
        Jason Lowe
      4. MAPREDUCE-5079.patch
        102 kB
        Jason Lowe
      5. MAPREDUCE-5079-branch-0.23.patch
        128 kB
        Jason Lowe
      6. MAPREDUCE-5079-branch-0.23.patch
        125 kB
        Jason Lowe

        Issue Links

          Activity

          Jason Lowe created issue -
          Jason Lowe made changes -
          Field Original Value New Value
          Link This issue relates to MAPREDUCE-4992 [ MAPREDUCE-4992 ]
          Jason Lowe made changes -
          Link This issue relates to MAPREDUCE-5003 [ MAPREDUCE-5003 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5079.patch [ 12574233 ]
          Jason Lowe made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 0.23.7, 2.0.5-beta [ 12323954, 12324032 ]
          Thomas Graves made changes -
          Target Version/s 0.23.7, 2.0.5-beta [ 12323954, 12324032 ] 3.0.0, 2.0.5-beta, 0.23.8 [ 12320355, 12324032, 12324140 ]
          Jason Lowe made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Thomas Graves made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Thomas Graves made changes -
          Priority Blocker [ 1 ] Critical [ 2 ]
          Thomas Graves made changes -
          Target Version/s 3.0.0, 2.0.5-beta, 0.23.8 [ 12320355, 12324032, 12324140 ] 3.0.0, 0.23.7, 2.0.5-beta [ 12320355, 12323954, 12324032 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5079.patch [ 12577074 ]
          Jason Lowe made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5079.patch [ 12577094 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5079-branch-0.23.patch [ 12577219 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5079.patch [ 12578094 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5079-branch-0.23.patch [ 12578101 ]
          Siddharth Seth made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 0.23.7 [ 12323954 ]
          Fix Version/s 2.0.5-beta [ 12324032 ]
          Resolution Fixed [ 1 ]
          Vinod Kumar Vavilapalli made changes -
          Link This issue breaks MAPREDUCE-5468 [ MAPREDUCE-5468 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jason Lowe
              Reporter:
              Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development