[
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