You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/01 06:38:00 UTC
[jira] [Updated] (FLINK-26347) Should use Flink system Classloader (AppClassloader) when deserializing RPC message
[ https://issues.apache.org/jira/browse/FLINK-26347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-26347:
-----------------------------------
Labels: pull-request-available (was: )
> Should use Flink system Classloader (AppClassloader) when deserializing RPC message
> -----------------------------------------------------------------------------------
>
> Key: FLINK-26347
> URL: https://issues.apache.org/jira/browse/FLINK-26347
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.15.0
> Reporter: Yingjie Cao
> Assignee: Yangze Guo
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> FLINK-25742 removed the redundant serialization of RPC invocation at Flink side. However, by accident, it changes the class loading behavior. Before FLINK-25742, Flink system Classloader is used to load RPC message class, but after FLINK-25742, the RpcSystem Classloader (its parent Classloader is not Flink system Classloader) is used which can cause ClassNotFoundException. I encountered this exception when trying to run flink-remote-shuffle on the latest Flink 1.15-SNAPSHOT, the remote shuffle class (shuffle descriptor class) can not be found even when the corresponding jar file is in Flink lib/ directory.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)