You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Ferenc Szabo (JIRA)" <ji...@apache.org> on 2017/09/12 13:36:05 UTC

[jira] [Updated] (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:all-tabpanel ]

Ferenc Szabo updated FLUME-2716:
--------------------------------
    Fix Version/s:     (was: 1.8.0)
                   1.9.0

> 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: 1.6.0, 1.7.0
>            Reporter: Dong Zhao
>              Labels: unit-test-missing
>             Fix For: 1.9.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.4.14#64029)