[ https://issues.apache.org/jira/browse/FLUME-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15902323#comment-15902323 ]
ASF GitHub Bot commented on FLUME-3068: --------------------------------------- GitHub user lingjinjiang opened a pull request: https://github.com/apache/flume/pull/113 [FLUME-3068] Ignore hidden files in TaildirMatcher [https://issues.apache.org/jira/browse/FLUME-3068](url) When using the taildir to monitor a directory, hidden files in the directory are tailed by the source. As the hidden files are often temp files, config files or the files which not want to be tailed, so it's necessary to ignore the hidden file when using the taildir source. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lingjinjiang/flume trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/113.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 #113 ---- commit ada8ce2b550214017dfe2081f6bf83e756dedbc0 Author: lingjinjiang <ling.jinji...@zte.com.cn> Date: 2017-03-09T02:00:25Z [FLUME-3068] Ignore hidden files in TaildirMatcher ---- > The taildir source can tail hidden files. > ----------------------------------------- > > Key: FLUME-3068 > URL: https://issues.apache.org/jira/browse/FLUME-3068 > Project: Flume > Issue Type: Bug > Components: Sinks+Sources > Affects Versions: v1.7.0 > Environment: Linux > Reporter: Jinjiang Ling > Attachments: FLUME-3068-0.patch > > > When using the taildir to monitor a directory, hidden files in the directory > are tailed by the source. > As the hidden files are always temp files of vim, etc. So it's necessary to > ignore the hidden file when using the taildir source. -- This message was sent by Atlassian JIRA (v6.3.15#6346)