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 8C1D4CEAE for ; Sun, 7 Jul 2013 02:51:52 +0000 (UTC) Received: (qmail 89612 invoked by uid 500); 7 Jul 2013 02:51:51 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 89523 invoked by uid 500); 7 Jul 2013 02:51:50 -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 89471 invoked by uid 99); 7 Jul 2013 02:51:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Jul 2013 02:51:50 +0000 Date: Sun, 7 Jul 2013 02:51:49 +0000 (UTC) From: "Hudson (JIRA)" To: chukwa-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13701484#comment-13701484 ] Hudson commented on CHUKWA-686: ------------------------------- Integrated in Chukwa-trunk #465 (See [https://builds.apache.org/job/Chukwa-trunk/465/]) CHUKWA-686. Added FileTailingAdaptorPreserveLines adaptor. (Sourygna Luangsay via Eric Yang) (Revision 1500353) Result = FAILURE eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1500353 Files : * /incubator/chukwa/trunk/CHANGES.txt * /incubator/chukwa/trunk/src/main/java/org/apache/hadoop/chukwa/datacollection/adaptor/filetailer/FileTailingAdaptorPreserveLines.java * /incubator/chukwa/trunk/src/site/apt/agent.apt * /incubator/chukwa/trunk/src/test/java/org/apache/hadoop/chukwa/datacollection/adaptor/filetailer/TestFileTailingAdaptorPreserveLines.java > 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-2.patch, 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. > FileTailingAdaptorPreserveLines adaptor mixes 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