[
https://issues.apache.org/jira/browse/MAPREDUCE-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated MAPREDUCE-3274:
-----------------------------------------------
Target Version/s: 0.23.0, 0.24.0 (was: 0.24.0, 0.23.0)
Status: Open (was: Patch Available)
Looked at the patch. Couple of comments:
- Need to properly synchronize access to _pendingJvms_ and
_jvmIDToActiveAttemptMap_
- Rename _registerJvm()_ to _registerPendingTask()_ and
_registerAttemptToJVM()_ to _registerLaunchedTask()_ ?
- Cute little test case :)
- Like I said before, these changes are necessary but not sufficient. We also
need to make ContainerLauncher to not send a _stopContainer_ for a container
that isn't launched. Want to do that here or separately? I am fine either ways.
> Race condition in MR App Master Preemtion can cause a dead lock
> ---------------------------------------------------------------
>
> Key: MAPREDUCE-3274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3274
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: applicationmaster, mrv2
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Robert Joseph Evans
> Assignee: Robert Joseph Evans
> Priority: Blocker
> Fix For: 0.23.0, 0.24.0
>
> Attachments: MR-3274.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira