[ https://issues.apache.org/jira/browse/FLUME-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Jarcec Cecho resolved FLUME-2265. --------------------------------------- Resolution: Fixed Fix Version/s: v1.5.0 Thank you for your contribution [~hshreedharan]! I've committed the patch to both [trunk|https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=3b1034e8229eb9ad3e27ed0faab77c3f68f708c6] and [flume-1.5|https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=c6117b50d998d8989890bd1dca911cdf402ba1a2] branch. > Closed bucket writers should be removed from sfwriters map > ---------------------------------------------------------- > > Key: FLUME-2265 > URL: https://issues.apache.org/jira/browse/FLUME-2265 > Project: Flume > Issue Type: Bug > Reporter: Hari Shreedharan > Assignee: Hari Shreedharan > Fix For: v1.5.0 > > Attachments: FLUME-2265.patch > > > If we don't remove the bucket writer from the map, the reference is kept in > the map and not removed till the maxOpenFiles limit is hit, even though the > bucket writer is closed. This leads to HDFS buffers sticking around for a > long time after the bucket writer is closed. -- This message was sent by Atlassian JIRA (v6.1.5#6160)