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 Sun, 21 Oct 2012 17:56:12 GMT


Gabriel Reid commented on CRUNCH-99:

Didn't see this on review board yet, although it could being clueless about review board.
In any case, I took a look, and I think that this must be the wrong version of the patch --
there's an "if (true)" statement in there, and it won't work with Avro 1.5.4 as-is.
> 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-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