chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <>
Subject Re: DirTailingAdaptor Enhanment Requests
Date Wed, 17 Nov 2010 00:01:09 GMT
On Mon, Nov 15, 2010 at 7:36 AM, Deshpande, Deepak
<> wrote:
> I have 2 enhancement requests for DirTailingAdaptor.
> 1.      Instead of using WildcardFileFilter can we use RegexFileFilter?
> The WildcardFileFilter is NOT that restrictive and might monitor file
> that are NOT required. By having RegexFileFilter we can restrict the
> file selection and will give user very well control of files that need
> to be monitored.


> 2.      If FileTailingAdaptor is passed as the argument to the
> DirTailingAdaptor, then DirTailingAdaptor starts FileTailingAdaptor for
> all files present in the directory being monitored. This might not work
> for users who want to monitor only new files or files that were created
> recently. I have created an adaptor that extends DirTailingAdaptor, it
> reads global configuration entry and starts FileTailingAdaptor only for
> those files that have last modified time stamp greater than the global
> configuration entry and for new files.

+1, and in addition, how about global config also for timestamp
greater than current time?

View raw message