hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukul Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15366) Add a helper shutDown routine in HadoopExecutor to ensure clean shutdown
Date Sat, 07 Apr 2018 09:49:00 GMT

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


Mime
View raw message