Return-Path: Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: (qmail 55397 invoked from network); 23 Nov 2010 15:12:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 15:12:15 -0000 Received: (qmail 47094 invoked by uid 500); 23 Nov 2010 15:12:47 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 47067 invoked by uid 500); 23 Nov 2010 15:12:46 -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 47046 invoked by uid 99); 23 Nov 2010 15:12:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 15:12:45 +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; Tue, 23 Nov 2010 15:12:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oANFCMAV006682 for ; Tue, 23 Nov 2010 15:12:22 GMT Message-ID: <399198.261091290525142109.JavaMail.jira@thor> Date: Tue, 23 Nov 2010 10:12:22 -0500 (EST) From: "Deepak Deshpande (JIRA)" To: chukwa-dev@incubator.apache.org Subject: [jira] Updated: (CHUKWA-553) DirTailingAdaptor doesn't honor the file filter correctly In-Reply-To: <19900174.37201289513898956.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-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Deshpande updated CHUKWA-553: ------------------------------------ Attachment: DirTailingAdaptor.patch > 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, 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.