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

Hudson commented on FLUME-2595:
-------------------------------

UNSTABLE: Integrated in Flume-trunk-hbase-98 #88 (See 
[https://builds.apache.org/job/Flume-trunk-hbase-98/88/])
FLUME-2595. Add option to checkpoint on file channel shutdown (hshreedharan: 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=be4ae294ca549648f785e7eea7564ee95112130a)
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
* 
flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestLog.java
* 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java
* 
flume-tools/src/test/java/org/apache/flume/tools/TestFileChannelIntegrityTool.java
* flume-ng-doc/sphinx/FlumeUserGuide.rst


> Add option to checkpoint on file channel shutdown
> -------------------------------------------------
>
>                 Key: FLUME-2595
>                 URL: https://issues.apache.org/jira/browse/FLUME-2595
>             Project: Flume
>          Issue Type: Bug
>          Components: File Channel
>    Affects Versions: v1.5.1
>            Reporter: Roshan Naik
>            Assignee: Roshan Naik
>              Labels: channel
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2595.patch, FLUME-2595.v2.patch, 
> FLUME-2595.v3.patch, FLUME-2595.v4.patch, FLUME-2595.v5.patch
>
>
> Restarting a File channel based agent can take very long, a few hours to 
> evens days in some cases. The reason being the slow replay performance.
> By having the file channel checkpoint on shutdown, this long replay can 
> avoided as there will be nothing to replay on startup.
> A small hit (a few seconds perhaps) will be observed on shutdown to perform 
> the checkpoint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to