GitHub user tzulitai opened a pull request: https://github.com/apache/flink/pull/3519
[backport-1.1] [FLINK-6025] [core] Add Flink's own JavaSerializer for Kryo serialization This is a backport of #3518 for `release-1.1`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tzulitai/flink FLINK-6025-1.1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3519.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 #3519 ---- commit 934ff6713a05f87138dd065460b5e6e67e3477d9 Author: Tzu-Li (Gordon) Tai <tzuli...@apache.org> Date: 2017-03-12T14:46:27Z [FLINK-6025] [core] Add Flink's own JavaSerializer for Kryo serialization This commit adds a reimplemented JavaSerializer to be registered with Kryo. This is due to a know issue with Kryo's JavaSerializer that may use the wrong classloader for deserialzation. Instead of registering Kryo's JavaSerializer for Throwables, it is now changed to register the reimplemented JavaSerializer. Users who bump into ClassNotFoundExceptions if they are using Kryo's JavaSerializer for their own types are also recommended to change to Flink's JavaSerializer. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---