crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Friedrich (JIRA)" <>
Subject [jira] [Updated] (CRUNCH-193) GenericArrayWritable doesn't handle nulls on read
Date Sun, 07 Apr 2013 17:05:15 GMT


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

View raw message