You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2010/11/13 19:07:13 UTC

[jira] Commented: (CHUKWA-553) DirTailingAdaptor doesn't honor the file filter correctly

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

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

Ari, this is not compatible with existing DirTailingAdaptor checkpoint file.  I am ok with this change, how about you?

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