You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "Michael Fu (JIRA)" <ji...@apache.org> on 2018/06/06 08:31:00 UTC

[jira] [Commented] (FLUME-2960) Support Wildcards in directory name in TaildirSource

    [ https://issues.apache.org/jira/browse/FLUME-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502987#comment-16502987 ] 

Michael Fu commented on FLUME-2960:
-----------------------------------

Hi [~wenqiao],

I got build error after patched flume 1.8 with _FLUME-2960_7.patch_

 
{code:java}
[INFO] Flume Taildir Source ............................... FAILURE
...
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (verify) on project flume-taildir-source: You have 1 Checkstyle violation. -> [Help 1]
{code}
I noticed that this patch is for 1.7.0. So Is there a similar patch associates 1.8.0 ? Or is it possible for you to remake a new patch for 1.8.0 ?
  

> Support Wildcards in directory name in TaildirSource
> ----------------------------------------------------
>
>                 Key: FLUME-2960
>                 URL: https://issues.apache.org/jira/browse/FLUME-2960
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: 1.7.0
>            Reporter: tinawenqiao
>            Assignee: tinawenqiao
>            Priority: Major
>              Labels: wildcards
>             Fix For: 1.9.0
>
>         Attachments: FLUME-2960_1.patch, FLUME-2960_2.patch, FLUME-2960_3.patch, FLUME-2960_4.patch, FLUME-2960_5.patch, FLUME-2960_6.patch, FLUME-2960_7.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> In our log management project, we wan't to track many log files like this:
> /app/dir1/log.*
>  /app/dir2/log.*
> ...
> /app/dirn/log.*
> But TaildirSource can't support wildcards in filegroup directory name. The following config is expected:
> a1.sources.r1.filegroups.fg = /app/\*/log.*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org