[
https://issues.apache.org/jira/browse/HADOOP-15366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16429292#comment-16429292
]
Mukul Kumar Singh commented on HADOOP-15366:
--------------------------------------------
Thanks for working on this [~shashikant].
+1, v0 patch looks good to me. I will commit this shortly.
> Add a helper shutDown routine in HadoopExecutor to ensure clean shutdown
> ------------------------------------------------------------------------
>
> Key: HADOOP-15366
> URL: https://issues.apache.org/jira/browse/HADOOP-15366
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Minor
> Attachments: HADOOP-15366.000.patch
>
>
> It is recommended to shut down an {{ExecutorService}} in two phases, first by
> calling {{shutdown}} to reject incoming tasks, and then calling
> {{shutdownNow}}, if necessary, to cancel any lingering tasks. This Jira aims
> to add a helper shutdown routine in Hadoop executor to achieve the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]