[ 
https://issues.apache.org/jira/browse/FLUME-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hari Shreedharan updated FLUME-1323:
------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Patch committed. Thanks Mike!
                
> Remove shutdown hook from FileChannel
> -------------------------------------
>
>                 Key: FLUME-1323
>                 URL: https://issues.apache.org/jira/browse/FLUME-1323
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Mike Percy
>            Assignee: Mike Percy
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1323-1.patch, FLUME-1323-2.patch
>
>
> The FileChannel currently uses a shutdown hook in order to close the channel. 
> However, the NodeManager already has a shutdown hook which will call close() 
> on the channel. Not only is the shutdown hook superfluous, but it unregisters 
> itself on stop(), which is not allowed if stop() is called from inside a 
> shutdown hook.

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

        

Reply via email to