incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-99) Avros.writables throws ClassCastException
Date Wed, 24 Oct 2012 06:58:12 GMT


Gabriel Reid commented on CRUNCH-99:

I did a bit of checking, and the main thing that I can find that could be the change that
was made in 1.6.x (although I'm doubting quite a bit on this) is AVRO-944. Assuming this is
the case, it would probably be more work than it's worth to check this in AvroCapabilities.

As far as I'm concerned, this can be committed. Sound good?
> Avros.writables throws ClassCastException
> -----------------------------------------
>                 Key: CRUNCH-99
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.3.0
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>         Attachments: CRUNCH-99b.patch, CRUNCH-99c.patch, CRUNCH-99.patch
> I hit this issue running 0.3.0 w/Avro 1.5.4-- the BytesToWritableMapFn is expecting a
ByteBuffer as input, but it will be a byte[] instead. Adding the same instanceof check that
we have elsewhere for this situation is the workaround I came up with.

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