[
https://issues.apache.org/jira/browse/FLUME-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hari Shreedharan updated FLUME-1296:
------------------------------------
Attachment: FLUME-1296-2.patch
> Lifecycle supervisor should check if the monitor service is still running
> before supervising
> --------------------------------------------------------------------------------------------
>
> Key: FLUME-1296
> URL: https://issues.apache.org/jira/browse/FLUME-1296
> Project: Flume
> Issue Type: Bug
> Components: Node
> Affects Versions: v1.2.0
> Reporter: Hari Shreedharan
> Fix For: v1.4.0
>
> Attachments: FLUME-1296-2.patch
>
>
> Lifecycle supervisor not checking if the executor service is running before
> supervising can cause RejectedExecutionException, if supervise gets called
> after the shutdown hook already killed the executor service. It is harmless,
> but an exception gets dumped to the log.
> Also it would be good to call shutdownNow on the monitor service if it hasn't
> terminated in a fixed time, say 10s.
--
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