[
https://issues.apache.org/jira/browse/PIG-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Graham updated PIG-2202:
-----------------------------
Attachment: PIG-2202_2.patch
Attached is patch 2 that upgrades {{PigAvroDatumWriter}} to work with changes
to it's Avro superclass, {{GenericDatumWriter}}.
This patch is backward compatible with Avro 1.4.1.
> AvroStorage doesn't work with Avro 1.5.1
> ----------------------------------------
>
> Key: PIG-2202
> URL: https://issues.apache.org/jira/browse/PIG-2202
> Project: Pig
> Issue Type: Bug
> Reporter: Bill Graham
> Attachments: PIG-2202_1.patch, PIG-2202_2.patch
>
>
> See PIG-2195. Pig jobs that use AvroStorage to write records using the
> 'schema' or 'data' options fail when using Avro 1.5.1 with the following
> exception:
> {noformat}
> java.lang.ClassCastException: org.apache.pig.data.BinSedesTuple cannot be
> cast to org.apache.avro.generic.IndexedRecord
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira