Igal Shilman created FLINK-11436: ------------------------------------ Summary: Java deserialization failure of the AvroSerializer when used in an old CompositeSerializers Key: FLINK-11436 URL: https://issues.apache.org/jira/browse/FLINK-11436 Project: Flink Issue Type: Bug Components: Type Serialization System Affects Versions: 1.7.1, 1.7.0 Reporter: Igal Shilman Assignee: Igal Shilman
During the release of Flink 1.7, the value of AvroSerializer, serialVersionUID was uptick to 2L (was 1L before). Although the AvroSerializer (along with it's snapshot class) was migrated to the new serialization abstraction (hence free of Java serialization), there were composite serializers that were not yet migrated during that release (i.e. StreamElementSerializer), and were serialized with Java serialization into the checkpoint/savepoint. In case that one of the nested serializers were the AvroSerializer we would bump into deserialization exception due to a wrong serialVersionUID. This issue was initially reported on the user mailing list: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Trouble-migrating-state-from-1-6-3-to-1-7-1-td25694.html h3. -- This message was sent by Atlassian JIRA (v7.6.3#76005)