You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Konstantin Shvachko (Commented) (JIRA)" <ji...@apache.org> on 2011/10/01 01:51:45 UTC

[jira] [Commented] (MAPREDUCE-2266) JvmManager sleeps between SIGTERM and SIGKILL while holding many TT locks

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118576#comment-13118576 ] 

Konstantin Shvachko commented on MAPREDUCE-2266:
------------------------------------------------

Todd. What do I include? If there was a patch I would be happy to.
                
> JvmManager sleeps between SIGTERM and SIGKILL while holding many TT locks
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2266
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2266
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task-controller, tasktracker
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>             Fix For: 0.22.0
>
>
> Between sending a task SIGTERM and SIGKILL, the JvmManager will sleep for sleepTimeBeforeSigKill millis. But in many call heirarchies this is done while holding important locks like the TT lock and the JvmManagerForType lock. With the default 5 second sleep, this prevents other tasks from getting scheduled and reduces scheduling throughput.

--
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