Github user tzulitai commented on the issue:
https://github.com/apache/flink/pull/4090
One caveat that this PR does not yet fully fix:
the deserialization of the anonymous class serializers
(`CaseClassSerializer` and `TraversableSerializer`), even with the
`serialVersionUID` specified, can still fail because there is no guarantee of
the generated classname of anonymous classes (it depends on the order of when
the anonymous classes were instantiated, and format seems to also change across
compilers).
At this moment, I've hit a bit of a wall trying to resolve this. The
problem was always there pre-1.3, as if users simply change the order of their
Scala type serializer generation (simply changing call order of
`createTypeInformation` for their Scala types), the classnames would change and
they wouldn't be able to restore state.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---