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

Race condition in MR App Master Preemtion can cause a dead lock

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha
    • Fix Version/s: 0.23.0
    • Component/s: applicationmaster, mrv2
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      There appears to be a race condition in the MR App Master in relation to preempting reducers to let a mapper run. In the particular case that I have been debugging a reducer was selected for preemption that did not have a container assigned to it yet. When the container became available that reduce started running and the previous TA_KILL event appears to have been ignored.

      1. MR-3274.txt
        14 kB
        Robert Joseph Evans
      2. MR-3274.txt
        14 kB
        Robert Joseph Evans

        Activity

        Robert Joseph Evans created issue -
        Vinod Kumar Vavilapalli made changes -
        Field Original Value New Value
        Target Version/s 0.24.0, 0.23.0 [ 12317654, 12315570 ] 0.23.0, 0.24.0 [ 12315570, 12317654 ]
        Priority Critical [ 2 ] Blocker [ 1 ]
        Component/s applicationmaster [ 12315625 ]
        Component/s scheduler [ 12315345 ]
        Robert Joseph Evans made changes -
        Attachment MR-3274.txt [ 12501357 ]
        Robert Joseph Evans made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.24.0, 0.23.0 [ 12317654, 12315570 ] 0.23.0, 0.24.0 [ 12315570, 12317654 ]
        Vinod Kumar Vavilapalli made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Target Version/s 0.24.0, 0.23.0 [ 12317654, 12315570 ] 0.23.0, 0.24.0 [ 12315570, 12317654 ]
        Robert Joseph Evans made changes -
        Attachment MR-3274.txt [ 12501485 ]
        Robert Joseph Evans made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.24.0, 0.23.0 [ 12317654, 12315570 ] 0.23.0, 0.24.0 [ 12315570, 12317654 ]
        Vinod Kumar Vavilapalli made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 0.24.0, 0.23.0 [ 12317654, 12315570 ] 0.23.0, 0.24.0 [ 12315570, 12317654 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320354 ]
        Affects Version/s 0.24.0 [ 12317654 ]
        Fix Version/s 2.0.0-alpha [ 12320354 ]
        Fix Version/s 0.24.0 [ 12317654 ]
        Allen Wittenauer made changes -
        Fix Version/s 2.0.0-alpha [ 12320354 ]

          People

          • Assignee:
            Robert Joseph Evans
            Reporter:
            Robert Joseph Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development