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

Avro objects should implement Serializable

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      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. serializeable_base.patch
          0.9 kB
          Doug Cutting
        2. AVRO-1502.patch
          6 kB
          Doug Cutting
        3. AVRO-1502.patch
          34 kB
          Doug Cutting

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: