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

Hudson commented on FLUME-1296:
-------------------------------

Integrated in flume-trunk #338 (See 
[https://builds.apache.org/job/flume-trunk/338/])
    FLUME-1296: Lifecycle supervisor should check if the monitor service is 
still running before supervising (Revision 
8de68ea636c956b0fe7d2cc18ab21bc26d077405)

     Result = SUCCESS
brock : 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=8de68ea636c956b0fe7d2cc18ab21bc26d077405
Files : 
* 
flume-ng-core/src/main/java/org/apache/flume/lifecycle/LifecycleSupervisor.java

                
> 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
>            Assignee: 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

Reply via email to