You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maciej Prochniak (Jira)" <ji...@apache.org> on 2021/02/08 17:00:03 UTC
[jira] [Commented] (FLINK-21138) KvStateServerHandler is not
invoked with user code classloader
[ https://issues.apache.org/jira/browse/FLINK-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281200#comment-17281200 ]
Maciej Prochniak commented on FLINK-21138:
------------------------------------------
I only had time this weekend to look at this: [https://github.com/apache/flink/pull/14902] - here is the change, I added integration test to verify the fix works
> KvStateServerHandler is not invoked with user code classloader
> --------------------------------------------------------------
>
> Key: FLINK-21138
> URL: https://issues.apache.org/jira/browse/FLINK-21138
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Queryable State
> Affects Versions: 1.11.2
> Reporter: Maciej Prochniak
> Assignee: Maciej Prochniak
> Priority: Major
> Labels: pull-request-available
> Attachments: TestJob.java, stacktrace
>
>
> When using e.g. custom Kryo serializers user code classloader has to be set as context classloader during invocation of methods such as TypeSerializer.duplicat()
> KvStateServerHandler does not do this, which leads to exceptions like ClassNotFound etc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)