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-1763: FileChannel Checkpoints should not be done without free space


Copy link to this message
-
Re: Review Request: FLUME-1763: FileChannel Checkpoints should not be done without free space
Brock Noland 2012-12-11, 00:45

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

(Updated Dec. 11, 2012, 12:45 a.m.)
Review request for Flume.
Changes
-------

Removed extra Math.max in log class.
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 (updated)
-----

  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 21ca5cc

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

Two unit tests added.
Thanks,

Brock Noland