Dong Zhao created FLUME-2716:
--------------------------------

             Summary: 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


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)

Reply via email to