You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Matthias Friedrich (JIRA)" <ji...@apache.org> on 2013/04/07 19:05:15 UTC
[jira] [Updated] (CRUNCH-193) GenericArrayWritable doesn't handle
nulls on read
[ https://issues.apache.org/jira/browse/CRUNCH-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Friedrich updated CRUNCH-193:
--------------------------------------
Attachment: CRUNCH-193-Fix-GenericArrayWritable.patch
I discovered this when cleaning up CogroupIT - there must be some nulls in collections behind the scenes.
Here's my first stab at fixing this. The serialization format is fairly inefficient, a more sophisticated implementation would only need one bit per element to keep track of nulls. I think there is a separate ticket for making Writables more efficient.
> GenericArrayWritable doesn't handle nulls on read
> -------------------------------------------------
>
> Key: CRUNCH-193
> URL: https://issues.apache.org/jira/browse/CRUNCH-193
> Project: Crunch
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Matthias Friedrich
> Assignee: Matthias Friedrich
> Attachments: CRUNCH-193-Fix-GenericArrayWritable.patch
>
>
> GenericArrayWritable throws an EOFException during deserialization when the serialized data contains null values.
--
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