flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qiao wen <315524...@qq.com>
Subject Re: Review Request 50378: FLUME-2960: Support Wildcards in directoryname in TaildirSource
Date Thu, 28 Jul 2016 15:18:25 GMT

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

(Updated 七月 28, 2016, 3:18 p.m.)


Review request for Flume.


Changes
-------

Modify the code according to the review. Run checkstyle. Add description and java doc. Add
some test.


Repository: flume-git


Description
-------

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.*


Diffs (updated)
-----

  flume-ng-doc/sphinx/FlumeUserGuide.rst 1334500 
  flume-ng-sources/flume-taildir-source/src/main/java/org/apache/flume/source/taildir/TaildirMatcher.java
ad9f720 
  flume-ng-sources/flume-taildir-source/src/test/java/org/apache/flume/source/taildir/TestTaildirMatcher.java
c341054 
  flume-ng-sources/flume-taildir-source/src/test/java/org/apache/flume/source/taildir/TestTaildirSource.java
097ee0b 

Diff: https://reviews.apache.org/r/50378/diff/


Testing
-------

All tests in TestTaildirSource passed.


Thanks,

qiao wen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message