[
https://issues.apache.org/jira/browse/HADOOP-9787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725105#comment-13725105
]
Steve Loughran commented on HADOOP-9787:
----------------------------------------
Looks good to me. Is the default timeout meant to be 3s or 30s
> ShutdownHelper util to shutdown threads and threadpools
> -------------------------------------------------------
>
> Key: HADOOP-9787
> URL: https://issues.apache.org/jira/browse/HADOOP-9787
> Project: Hadoop Common
> Issue Type: Bug
> Components: util
> Affects Versions: 2.0.4-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: hadoop-9787-1.patch, hadoop-9787-2.patch
>
>
> Several classes spawn threads and threadpools and shut them down on close()
> and serviceStop() etc. A helper class helps standardize the wait time after a
> thread/threadpool is interrupted/shutdown for it to actually terminate.
> One example of this is MAPREDUCE-5428.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira