[
https://issues.apache.org/jira/browse/FLINK-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069762#comment-16069762
]
ASF GitHub Bot commented on FLINK-7041:
---------------------------------------
GitHub user aljoscha opened a pull request:
https://github.com/apache/flink/pull/4232
[FLINK-7041] Deserialize StateBackend from JobCheckpointingSettings with
user classloader
R: @tzulitai
CC: @StephanEwen I noticed that the state backend that is in the
configuration is never used anywhere. I'm guessing this is for future work or
is something missing in the code?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/flink
jira-7041-fix-state-backend-classloader
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4232.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 #4232
----
commit 5ed5300b510f1439ceb516b44592e433dbc46931
Author: Aljoscha Krettek <[email protected]>
Date: 2017-06-30T09:19:30Z
[FLINK-7041] Deserialize StateBackend from JobCheckpointingSettings with
user classloader
This also adds a test for serializability with a class that's not in the
default classloader.
----
> Deserialize StateBackend from JobCheckpointingSettings with user classloader
> ----------------------------------------------------------------------------
>
> Key: FLINK-7041
> URL: https://issues.apache.org/jira/browse/FLINK-7041
> Project: Flink
> Issue Type: Bug
> Components: DataStream API, Distributed Coordination, State
> Backends, Checkpointing
> Affects Versions: 1.3.0, 1.3.1
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> Priority: Blocker
> Fix For: 1.3.2
>
>
> A user ran into the problem that the {{SubmitJob}} message is not
> (de)serialisable if it contains custom RocksDB options (or a custom state
> backend): [1]
> The problem is that {{SubmitJob}} contains a {{JobGraph}} which contains
> {{JobCheckpointingSettings}} which contains a {{StateBackend}}. This
> {{StateBackend}} potentially has user code and therefore can only be
> deserialised with the user classloader.
> This issue is mostly identical to FLINK-6531.
> [1]
> https://lists.apache.org/thread.html/69bb573787258ab34c3dc56ac155052f099d75e62d805f463bde5621@%3Cuser.flink.apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)