GitHub user mlmhl opened a pull request:
https://github.com/apache/flume/pull/59
taildirsource bug fix: close the file before reopen it if the file is
renamed
In taildirsource module, if a file is renamed, if will be reopened, in this
scenario, the old file should be closed before open a new one, otherwise
resource leak will occur.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mlmhl/flume trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flume/pull/59.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #59
----
commit fd4cdc464c6ca35f66c1901519400d166f5861b9
Author: luffyma(马æ) <[email protected]>
Date: 2016-07-30T02:48:34Z
bug fix: close the file before reopen it if the file is renamed
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---