[ https://issues.apache.org/jira/browse/KAFKA-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Fejes updated KAFKA-985: ------------------------------ Fix Version/s: 0.9 Status: Patch Available (was: Open) > Increasing log retention quickly overflows scala Int > ---------------------------------------------------- > > Key: KAFKA-985 > URL: https://issues.apache.org/jira/browse/KAFKA-985 > Project: Kafka > Issue Type: Bug > Components: log > Affects Versions: 0.9 > Reporter: Frank Fejes > Assignee: Jay Kreps > Priority: Minor > Fix For: 0.9 > > > After increasing log.retention.hours from the default of 168 to 744 (31 days) > I noticed that logs were being deleted at every cleanup interval. > scala> val retentionMs: Long = 60 * 60 * 1000 * 31 * 24 > retentionMs: Long = -1616567296 > This only appears to affect trunk. I'll attach the minor patch I'm using > locally. Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira