You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Vitaly Moskovkin (JIRA)" <ji...@apache.org> on 2017/09/14 19:42:00 UTC

[jira] [Updated] (FLUME-3179) File channel size in bytes limited by int not long

     [ https://issues.apache.org/jira/browse/FLUME-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitaly Moskovkin updated FLUME-3179:
------------------------------------
    Description: 
EventQueueBackingStoreFile contains following string

long totalBytes = (capacity + HEADER_SIZE) * Serialization.SIZE_OF_LONG;

which actually make totalBytes limited by Integer.MAX_VALUE but not Long.MAX_VALUE


  was:
EventQueueBackingStoreFile contains following string

long totalBytes = (capacity + HEADER_SIZE) * Serialization.SIZE_OF_LONG;

which actually make totalBytes limited by int not long



> File channel size in bytes limited by int not long
> --------------------------------------------------
>
>                 Key: FLUME-3179
>                 URL: https://issues.apache.org/jira/browse/FLUME-3179
>             Project: Flume
>          Issue Type: Bug
>          Components: File Channel
>    Affects Versions: 1.7.0
>            Reporter: Vitaly Moskovkin
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> EventQueueBackingStoreFile contains following string
> long totalBytes = (capacity + HEADER_SIZE) * Serialization.SIZE_OF_LONG;
> which actually make totalBytes limited by Integer.MAX_VALUE but not Long.MAX_VALUE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)