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

Avro objects should implement Serializable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • java
    • None
    • Incompatible change

    Description

      To ease use of Avro objects with systems that rely on Java serialization, i.e. Apache Spark, this change updates generated classes to implement java.io.Externalizable.

      This change is marked incompatible because the class hierarchy for SpecificFixed has changed. Updating the Avro library without recompiling the IPC classes (in my test this was for Flume) results in an AbstractMethodError.

      (I couldn't add a Release Note since the jira is Closed, so I'm updating the description instead.)

      Attachments

        1. AVRO-1502.patch
          34 kB
          Doug Cutting
        2. AVRO-1502.patch
          6 kB
          Doug Cutting
        3. serializeable_base.patch
          0.9 kB
          Doug Cutting

        Issue Links

          Activity

            People

              cutting Doug Cutting
              hammer Jeff Hammerbacher
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: