You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeremy Kahn (JIRA)" <ji...@apache.org> on 2013/05/15 19:57:18 UTC

[jira] [Updated] (AVRO-1331) Java reader backwards-compatibility breakage

     [ https://issues.apache.org/jira/browse/AVRO-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Kahn updated AVRO-1331:
------------------------------

    Attachment: stripped-snipped.schema
                stripped-snipped.avro

the sample "stripped and snipped" files trigger this misbehavior with versions of 1.7.5-SNAPSHOT that include patch AVRO-1295.
                
> Java reader backwards-compatibility breakage
> --------------------------------------------
>
>                 Key: AVRO-1331
>                 URL: https://issues.apache.org/jira/browse/AVRO-1331
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.5
>            Reporter: Jeremy Kahn
>         Attachments: stripped-snipped.avro, stripped-snipped.schema
>
>
> For some cases where we encode Avro data with Avro 1.7.4, it is not readable with Avro 1.7.5-SNAPSHOT post AVRO-1295: the Java decoder is unable to discover the root definitions
> Among the properties of (some) schemas that trigger this failure:
> - an explicit empty string in the root namespace and
> - uses other namespaces elsewhere in the schema, 
> - has a recursive reference to the root
> A sample schema and a sample datafile with one example encoded with that schema are attached.  
> This datafile cannot be read with Java deserializers (and I believe that the schema cannot be parsed by the Java schema parser).

--
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