GitHub user tzulitai opened a pull request:
https://github.com/apache/flink/pull/3987
[FLINK-6714] [runtime] Use user classloader for operator state copying on
snapshots
Now that the operator state backend creates a deep copy of the state during
the synchronous part of async checkpoints, it needs to set the user classloader
as the thread context classloader, otherwise serializers that uses
serialization for copying will use the wrong classloader when deserializing the
copy.
A test is added to {{OperatorStateBackendTest}} to verify that the user
classloader is properly used on copy.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tzulitai/flink FLINK-6714
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3987.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 #3987
----
commit 516fd085d640d56ea2ef7be7f0b11f6ad43e92f5
Author: Tzu-Li (Gordon) Tai <[email protected]>
Date: 2017-05-25T08:54:08Z
[FLINK-6714] [runtime] Use user classloader for operator state copying on
snapshots
----
---
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.
---