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

Switch to Plain View
Flume, mail # dev - Review Request: FLUME-1763: FileChannel Checkpoints should not be done without free space


Copy link to this message
-
Review Request: FLUME-1763: FileChannel Checkpoints should not be done without free space
Brock Noland 2012-12-06, 21:52

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

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

Adds a parameter which can be configured by defaults to 500MB. We will refuse to checkpoint or perform log writes in this case.
This addresses bug FLUME-1763.
    https://issues.apache.org/jira/browse/FLUME-1763
Diffs
-----

  flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java 64a1350
  flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java 92cad77
  flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java 6d1cf51
  flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestLog.java a165d6a
  flume-ng-doc/sphinx/FlumeUserGuide.rst f8528bb

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

Two unit tests added.
Thanks,

Brock Noland

+
Brock Noland 2012-12-06, 21:54
+
Brock Noland 2012-12-06, 22:02
+
Brock Noland 2012-12-06, 22:03
+
Hari Shreedharan 2012-12-10, 21:54
+
Brock Noland 2012-12-10, 23:29
+
Brock Noland 2012-12-10, 23:28
+
Hari Shreedharan 2012-12-10, 23:36
+
Brock Noland 2012-12-11, 00:45
+
Hari Shreedharan 2012-12-11, 01:04