[
https://issues.apache.org/jira/browse/FLINK-11436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai closed FLINK-11436.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.2
Merged.
Thanks for fixing [~igal].
1.8.0: 479ebd59872160cb2060605b08dcd0d86c3cb78e
1.7.2: 482116806bf9c4159a505d2c013dcc298e7c8174
> 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.0, 1.7.1
> Reporter: Igal Shilman
> Assignee: Igal Shilman
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)