Hari Shreedharan created FLUME-1296:
---------------------------------------
Summary: 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.2.0
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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira