[
https://issues.apache.org/jira/browse/MAPREDUCE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved MAPREDUCE-156.
----------------------------------------
Resolution: Won't Fix
This is intentional to potentially give time for the process to clean up.
Closing as won't fix.
> ProcessTree.destroy() is sleeping for 5 seconds holding the task slot
> ---------------------------------------------------------------------
>
> Key: MAPREDUCE-156
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-156
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Ravi Gummadi
>
> Currently, in ProcessTree.destroy(), after sending SIGTERM to the task JVM,
> TT sleeps for 5 seconds(default value of
> mapred.tasktracker.tasks.sleeptime-before-sigkill) before sending SIGKILL.
> This seems to be blocking the task slot(not getting released) for 5 seconds.
> We should avoid this so that another task could be launched in that slot
> immediately.
--
This message was sent by Atlassian JIRA
(v6.2#6252)