You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by qiao wen <31...@qq.com> on 2019/04/09 12:06:24 UTC

Re: Review Request 70434: Flume-3255 Close files that no longer matched in TaildirSource process

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70434/
-----------------------------------------------------------

(Updated 四月 9, 2019, 12:06 p.m.)


Review request for Flume and qiao wen.


Summary (updated)
-----------------

Flume-3255 Close files that no longer matched in TaildirSource process


Repository: flume-git


Description (updated)
-------

We use TaildirSource to track logs in our production system. Recently we found that some file descriptors are still held after the file name is changed to the name that no longer matches the pattern. Over time, there are more and  more fds still hold by flume.


Diffs
-----

  flume-ng-sources/flume-taildir-source/src/main/java/org/apache/flume/source/taildir/TaildirSource.java 9ecccd74 


Diff: https://reviews.apache.org/r/70434/diff/1/


Testing
-------


Thanks,

qiao wen