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:37:34 UTC
[jira] [Created] (CRUNCH-13) Partitioner crash in pipelines
containing reflection-based Avro data
Gabriel Reid created CRUNCH-13:
----------------------------------
Summary: 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
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
[jira] [Updated] (CRUNCH-13) Partitioner crash in pipelines
containing reflection-based Avro data
Posted by "Gabriel Reid (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Work started] (CRUNCH-13) Partitioner crash in pipelines
containing reflection-based Avro data
Posted by "Gabriel Reid (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CRUNCH-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CRUNCH-13 started by Gabriel Reid.
> 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
> Fix For: 0.3.0
>
> 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
[jira] [Commented] (CRUNCH-13) Partitioner crash in pipelines
containing reflection-based Avro data
Posted by "Josh Wills (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CRUNCH-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411684#comment-13411684 ]
Josh Wills commented on CRUNCH-13:
----------------------------------
Looks good to me.
> 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
[jira] [Closed] (CRUNCH-13) Partitioner crash in pipelines
containing reflection-based Avro data
Posted by "Gabriel Reid (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CRUNCH-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Reid closed CRUNCH-13.
------------------------------
> 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
> Fix For: 0.3.0
>
> 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
[jira] [Resolved] (CRUNCH-13) Partitioner crash in pipelines
containing reflection-based Avro data
Posted by "Gabriel Reid (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CRUNCH-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Reid resolved CRUNCH-13.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.3.0
Committed in master (f699409f388ea20a551e007796e9addf631d1a29)
> 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
> Fix For: 0.3.0
>
> 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