Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # dev - Review Request: FLUME-1891. Fast replay runs even when checkpoint exists.


Copy link to this message
-
Review Request: FLUME-1891. Fast replay runs even when checkpoint exists.
Hari Shreedharan 2013-02-01, 08:35

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9240/
-----------------------------------------------------------

Review request for Flume.
Description
-------

Fast replay is now run only if checkpoint file does not exist.
This addresses bug FLUME-1891.
    https://issues.apache.org/jira/browse/FLUME-1891
Diffs
-----

  flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java d921387
  flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java 8a4201c
  flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannelRestart.java ea57cdb

Diff: https://reviews.apache.org/r/9240/diff/
Testing
-------

Added 2 unit tests to test for the case where checkpoint does not exist (or is corrupt) and where checkpoint exists.
Thanks,

Hari Shreedharan