You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2012/07/11 17:39:35 UTC

[jira] [Updated] (CRUNCH-13) Partitioner crash in pipelines containing reflection-based Avro data

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

Gabriel Reid updated CRUNCH-13:
-------------------------------

    Attachment: CRUNCH-13.patch

Patch to resolve the issue, as well as performing some small cleanup around other reflection-based Avro handling.
                
> Partitioner crash in pipelines containing reflection-based Avro data
> --------------------------------------------------------------------
>
>                 Key: CRUNCH-13
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-13
>             Project: Crunch
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>              Labels: avro, reflection
>         Attachments: CRUNCH-13.patch
>
>
> When using reflection-based Avro schemas, the default (hash-based) partitioner crashes due to GenericData.Records not being able to calculate a hash code for reflection-based data. This means that any pipeline using Avro reflection data cannot do a group by key on a PCollection (as this involves a reducer which involves the partitioner).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira