You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2013/06/06 16:49:21 UTC

[jira] [Updated] (FLUME-2010) Support Avro records in Log4jAppender and the HDFS Sink

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

Tom White updated FLUME-2010:
-----------------------------

    Attachment: FLUME-2010.patch

Here's a new patch which I've been using successfully. Sorry it took so long for me to update this.

Changes in this version of the patch:
* Removed the schema repository code. Instead you can optionally specify a URL from which the Avro schema can be retrieved (e.g. from HDFS or a web server). This is similar to how Avro schemas in Hive are handled.
* Added support for all types of Avro serialization (generic, specific, reflect).
* Moved AvroEventSerializer to the HDFS sink module since it has a Hadoop dependency (so it can retrieve Avro schemas from HDFS).
* Added tests and documentation.
                
> Support Avro records in Log4jAppender and the HDFS Sink
> -------------------------------------------------------
>
>                 Key: FLUME-2010
>                 URL: https://issues.apache.org/jira/browse/FLUME-2010
>             Project: Flume
>          Issue Type: New Feature
>          Components: Client SDK, Sinks+Sources
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: v1.4.0
>
>         Attachments: FLUME-2010.patch, FLUME-2010.patch, FLUME-2010.patch, FLUME-2010.patch
>
>
> It would be nice to support logging arbitrary Avro records via the Log4j Flume logger, and have them written to HDFS in Avro data files (using an appropriately configured HDFS sink).

--
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