GitHub user twalthr opened a pull request:
https://github.com/apache/flink/pull/5567
[FLINK-8451] [serializers] Make Scala tuple serializer deserialization more
failure tolerant
## What is the purpose of the change
Scala tuples (and thus also case classes) classes are serialized together
with their serializers. The `serialVersionUID` changed from Scala 2.10 to 2.11.
We need to ignore those changes when reading a serializer config snapshot.
## Brief change log
- Make deserialization more failure tolerant
## Verifying this change
- See `org.apache.flink.api.scala.runtime.TupleSerializerCompatibilityTest`
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: yes
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs /
JavaDocs / not documented)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/twalthr/flink FLINK-8451
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5567
----
commit 3855837fe3d79c473c59ad892daabbb45f711c47
Author: Timo Walther <twalthr@...>
Date: 2018-02-22T16:22:54Z
[FLINK-8451] [serializers] Make Scala tuple serializer deserialization more
failure tolerant
----
---