chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-553) DirTailingAdaptor doesn't honor the file filter correctly
Date Tue, 23 Nov 2010 03:58:14 GMT

    [ https://issues.apache.org/jira/browse/CHUKWA-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934728#action_12934728
] 

Eric Yang commented on CHUKWA-553:
----------------------------------

When you use the diff command, supply +u command and it will generate the patch which shows:

- line 1 old
+ line 1 new

instead of 

< line 1 old
> line 1 new

This will make patching easier.  I am not exactly sure what option it would be on Windows's
diff command.  You might need to look up the help for the diff command.

Thanks

> DirTailingAdaptor doesn't honor the file filter correctly
> ---------------------------------------------------------
>
>                 Key: CHUKWA-553
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-553
>             Project: Chukwa
>          Issue Type: Bug
>          Components: data collection
>    Affects Versions: 0.4.0
>         Environment: Redhat Linux 5.2
>            Reporter: Deepak Deshpande
>            Priority: Minor
>         Attachments: DirTailingAdaptor.patch
>
>
> The DirTailingAdaptor doesn't honor the file filter correctly. After first restart of
Chukwa agent, the DirTailingAdaptor is starting an adaptor for files that don't match the
filter provided. After little research, I found that the check point file for DirTailingAdaptor
doesn't have the file filter argument provided by user.  The bug is in "getCurrentStatus"
method and it doesn't return the file pattern provided by user in the returned String. I was
able to fix the issue by returning the file pattern in the returned String. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message