You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Micah Whitacre (JIRA)" <ji...@apache.org> on 2013/07/23 19:32:49 UTC

[jira] [Updated] (CRUNCH-243) Support easily extensibility for custom reading of Avro Datum

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

Micah Whitacre updated CRUNCH-243:
----------------------------------

    Attachment: CRUNCH-243.patch

Patch showing first pass at the changes.
                
> Support easily extensibility for custom reading of Avro Datum
> -------------------------------------------------------------
>
>                 Key: CRUNCH-243
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-243
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Micah Whitacre
>            Assignee: Micah Whitacre
>            Priority: Minor
>         Attachments: CRUNCH-243.patch
>
>
> Through some discussions on the Avro mailing lists[1], there are use cases that need the ability to inject a custom SpecificDatumReader.  Crunch does not make it easy to inject the custom reader as it is currently implemented causing consumers to copy three classes (e.g. AvroFileSource, AvroFileSourceTarget, AvroFileReaderFactory) to gain this functionality.  With a few minor changes to AvroFileSource and AvroFileReaderFactory, consumers can inject their custom reader fairly easily.
> [1] - http://search-hadoop.com/m/98HA2DitiF/avro+enum+passivity&subj=Avro+enum+and+passivity+

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