You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Bessenyei Balázs Donát (JIRA)" <ji...@apache.org> on 2016/08/02 18:37:20 UTC
[jira] [Commented] (FLUME-2716) File Channel cannot handle capacity
Integer.MAX_VALUE
[ https://issues.apache.org/jira/browse/FLUME-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404563#comment-15404563 ]
Bessenyei Balázs Donát commented on FLUME-2716:
-----------------------------------------------
[~zd987]: can you please rebase this patch on trunk? (And probably add a unit test?)
> File Channel cannot handle capacity Integer.MAX_VALUE
> -----------------------------------------------------
>
> Key: FLUME-2716
> URL: https://issues.apache.org/jira/browse/FLUME-2716
> Project: Flume
> Issue Type: Bug
> Components: Channel, File Channel
> Affects Versions: v1.6.0, v1.7.0
> Reporter: Dong Zhao
> Labels: unit-test-missing
> Fix For: v1.7.0
>
> Attachments: FLUME-2716.patch
>
>
> if capacity is set to Integer.MAX_VALUE(2147483647), checkpoint file size is calculated wrongly to 8224. The calculation should first cast int to long, then calculate the totalBytes. See the patch for details. Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)