[
https://issues.apache.org/jira/browse/FLINK-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15512540#comment-15512540
]
ASF GitHub Bot commented on FLINK-4603:
---------------------------------------
GitHub user StefanRRichter opened a pull request:
https://github.com/apache/flink/pull/2533
[FLINK-4603] Fixes: KeyedStateBackend cannot restore user code classes
This PR fixes [FLINK-4603] and introduces a test to protect better against
future regression.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StefanRRichter/flink backend-classloader-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2533.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 #2533
----
commit d6b8b0112c6a4cf3f2cbf5eb758599e15d796aab
Author: Stefan Richter <[email protected]>
Date: 2016-09-21T12:55:58Z
[FLINK-4603] KeyedStateBackend can restore user code classes
commit 78b2a4f048bd62e55471a384169304ca46bbbf60
Author: Stefan Richter <[email protected]>
Date: 2016-09-21T15:56:08Z
[FLINK-4603] Test case
----
> KeyedStateBackend cannot restore user code classes
> --------------------------------------------------
>
> Key: FLINK-4603
> URL: https://issues.apache.org/jira/browse/FLINK-4603
> Project: Flink
> Issue Type: Bug
> Components: State Backends, Checkpointing
> Affects Versions: 1.2.0
> Reporter: Till Rohrmann
> Assignee: Stefan Richter
> Priority: Blocker
> Fix For: 1.2.0
>
>
> A user reported that he cannot restore keyed state which contains user code
> classes. I suspect that we don't use the user code class loader to
> deserialize the state.
> The solution seems to be to forward the user code class loader to the
> {{KeyedStateBackends}} when restoring state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)