You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Shashikant Banerjee (JIRA)" <ji...@apache.org> on 2018/04/05 19:56:00 UTC

[jira] [Commented] (HADOOP-15366) Add a helper shutDown routine in HadoopExecutor to ensure clean shutdown

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

Shashikant Banerjee commented on HADOOP-15366:
----------------------------------------------

Patch v0 adds a helper shutdown routine for hadoop executor service.

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org