Mike Percy created FLUME-1323:
---------------------------------

             Summary: 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
             Fix For: v1.2.0


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