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

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

flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
<https://reviews.apache.org/r/8379/#comment30176>

    Needs to go before the log acquire or in the try block
- Brock Noland
On Dec. 6, 2012, 9:54 p.m., Brock Noland wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/8379/
> -----------------------------------------------------------
>
> (Updated Dec. 6, 2012, 9:54 p.m.)
>
>
> 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
>
>