chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ari Rabkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-525) Extending DirTailing Adapter
Date Fri, 15 Oct 2010 17:54:33 GMT

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

Ari Rabkin commented on CHUKWA-525:
-----------------------------------

Jaydeep, did you mean to attach a patch here?

> Extending DirTailing Adapter
> ----------------------------
>
>                 Key: CHUKWA-525
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-525
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: data collection
>    Affects Versions: 0.3.0, 0.4.0
>            Reporter: jaydeep ayachit
>             Fix For: 0.3.0, 0.4.0
>
>
> This enhancement is to allow extend DirTailingAdaptor that can support custom build adaptors.
Its assumed that custom adaptors will be built and shipped in a separate jar file. Following
changes suggested in DirTailingAdaptor 
> - String adaptorName: protected to allow extending adaptors know underlying file level
adaptor
> - protected String getAdaptorAddCommand(File dir) throws IOException: New method: Allows
to construct add command based on custom adaptor to be used with custom DirTailing adaptor
> - private void scanDirHierarchy(File dir): call getAdaptorAddCommand to get adaptor to
add. This allows to pass on custom adaptor specific arguments

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