Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1200

DatumWriter can write malformed data if collection is modified during write

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.2
    • 1.7.3
    • java
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. AVRO-1200.patch
          9 kB
          Thomas White

        Issue Links

          Activity

            People

              tomwhite Thomas White
              tomwhite Thomas White
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: