[
https://issues.apache.org/jira/browse/CRUNCH-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481003#comment-13481003
]
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: https://issues.apache.org/jira/browse/CRUNCH-99
> 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: http://www.atlassian.com/software/jira