chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CHUKWA-686) Creating a new adaptor: FileTailingAdaptorPreserveLines
Date Sun, 07 Jul 2013 02:19:48 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated CHUKWA-686:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this, thanks Sourygna.
                
> 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

Mime
View raw message