avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1200) DatumWriter can write malformed data if collection is modified during write
Date Thu, 08 Nov 2012 21:56:13 GMT
Tom White created AVRO-1200:
-------------------------------

             Summary: DatumWriter can write malformed data if collection is modified during
write
                 Key: AVRO-1200
                 URL: https://issues.apache.org/jira/browse/AVRO-1200
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.7.2
            Reporter: Tom White
            Assignee: Tom White
             Fix For: 1.7.3


GenericDatumWriter's writeArray and writeMap methods write the size of the collection/map
before writing the entries, so it's possible that the sizes will not match, which can cause
data corruption and read failures like AVRO-1198.

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

Mime
View raw message