[
https://issues.apache.org/jira/browse/MAPREDUCE-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973337#action_12973337
]
Todd Lipcon commented on MAPREDUCE-2224:
----------------------------------------
Hi Scott. Yea, it's necessary, since kill() is synchronized on the inner class.
It needs to synchronize on its outer "this" - note that it's
{{JvmManagerForType.this}} and not {{this}}
> Synchronization bugs in JvmManager
> ----------------------------------
>
> Key: MAPREDUCE-2224
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2224
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: tasktracker
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Critical
> Fix For: 0.22.0
>
> Attachments: mapreduce-2224-cdh3.txt, mapreduce-2224.txt,
> mapreduce-2224.txt
>
>
> JvmManager.JvmManagerForType has several HashMap members that are
> inconsistently synchronized. I've seen sporadic NPEs in the 0.20 version of
> this code which has similar bugs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.