avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isabel Drost (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-864) NoSuchFieldException when emitting record with array of union of records in mapred
Date Sun, 24 Jul 2011 20:25:10 GMT
NoSuchFieldException when emitting record with array of union of records in mapred
----------------------------------------------------------------------------------

                 Key: AVRO-864
                 URL: https://issues.apache.org/jira/browse/AVRO-864
             Project: Avro
          Issue Type: Bug
            Reporter: Isabel Drost


I tried to convert data records currently in a custom format into avro records via a map-only
job. To allow for optional record fields I followed the workaround sketched by Doug in AVRO-519
using the generic API.

When emitting the resulting records a "NoSuchFieldException" is thrown when trying to resolve
the union types: Only the methods declared in ReflectData seem to be called, the implementation
in GenericData is skipped.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message