flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Moskovkin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLUME-3179) File channel size in bytes limited by int not long
Date Thu, 14 Sep 2017 19:42:00 GMT

     [ 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)

Mime
View raw message