You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jinjiang Ling (JIRA)" <ji...@apache.org> on 2017/04/05 05:42:42 UTC

[jira] [Updated] (FLUME-3068) The taildir source can tail hidden files.

     [ https://issues.apache.org/jira/browse/FLUME-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jinjiang Ling updated FLUME-3068:
---------------------------------
    Attachment: FLUME-3068-2.patch

add unit test and update docs

> 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: 1.7.0
>         Environment: Linux
>            Reporter: Jinjiang Ling
>         Attachments: FLUME-3068-0.patch, FLUME-3068-1.patch, FLUME-3068-2.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.
> Now Add a new configuration option named "ignoreHiddenFile", and the default value is "false". When set it to "true", the hidden file will be ingored.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)