Return-Path: X-Original-To: apmail-incubator-chukwa-dev-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C62C41001B for ; Sun, 21 Apr 2013 14:31:15 +0000 (UTC) Received: (qmail 68713 invoked by uid 500); 21 Apr 2013 14:31:15 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 68687 invoked by uid 500); 21 Apr 2013 14:31:15 -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 68674 invoked by uid 99); 21 Apr 2013 14:31:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Apr 2013 14:31:15 +0000 Date: Sun, 21 Apr 2013 14:31:15 +0000 (UTC) From: "Sourygna Luangsay (JIRA)" To: chukwa-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CHUKWA-686) Creating a new adaptor: FileTailingAdaptorPreserveLines MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CHUKWA-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sourygna Luangsay updated CHUKWA-686: ------------------------------------- Attachment: chukwa-686.patch > Creating a new adaptor: FileTailingAdaptorPreserveLines > ------------------------------------------------------- > > Key: CHUKWA-686 > URL: https://issues.apache.org/jira/browse/CHUKWA-686 > Project: Chukwa > Issue Type: Improvement > Components: Data Collection > Reporter: Sourygna Luangsay > Assignee: Sourygna Luangsay > Priority: Minor > Fix For: 0.6.0 > > Attachments: chukwa-686.patch > > > FileTailingAdaptor is great to tail log files and send them to Hadoop. > However, last line of the chunk is usually cut which leads to some errors. > CharFileTailingAdaptorUTF8 can solve such problem. > Nonetheless, this adaptor calls the MapProcessor.process() method for every > line in each chunk, thus slowing a lot the Demux phase. > This adaptor that mix the benefits of the two > adaptors: the (Demux) speed of FileTailingAdaptor and > the preservation of lines from CharFileTailingAdaptorUTF8. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira