Return-Path: Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: (qmail 99304 invoked from network); 15 Oct 2010 17:54:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 17:54:59 -0000 Received: (qmail 84505 invoked by uid 500); 15 Oct 2010 17:54:58 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 84316 invoked by uid 500); 15 Oct 2010 17:54:58 -0000 Mailing-List: contact chukwa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@incubator.apache.org Delivered-To: mailing list chukwa-dev@incubator.apache.org Received: (qmail 84306 invoked by uid 99); 15 Oct 2010 17:54:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 17:54:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 17:54:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9FHsX50006155 for ; Fri, 15 Oct 2010 17:54:33 GMT Message-ID: <9582078.165801287165273172.JavaMail.jira@thor> Date: Fri, 15 Oct 2010 13:54:33 -0400 (EDT) From: "Ari Rabkin (JIRA)" To: chukwa-dev@incubator.apache.org Subject: [jira] Commented: (CHUKWA-525) Extending DirTailing Adapter In-Reply-To: <29109622.442911285682433467.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.