[
https://issues.apache.org/jira/browse/FLUME-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402639#comment-13402639
]
Hudson commented on FLUME-1323:
-------------------------------
Integrated in flume-trunk #261 (See
[https://builds.apache.org/job/flume-trunk/261/])
FLUME-1323. Remove shutdown hook from FileChannel.
(Mike Percy via Hari Shreedharan) (Revision 1354322)
Result = UNSTABLE
hshreedharan : http://svn.apache.org/viewvc/?view=rev&rev=1354322
Files :
*
/incubator/flume/trunk/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
> 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