You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/04/17 09:36:00 UTC
[jira] [Updated] (FLINK-17195) Worker threads for source function
have wrong ClassLoader
[ https://issues.apache.org/jira/browse/FLINK-17195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aljoscha Krettek updated FLINK-17195:
-------------------------------------
Component/s: (was: Runtime / State Backends)
> Worker threads for source function have wrong ClassLoader
> ---------------------------------------------------------
>
> Key: FLINK-17195
> URL: https://issues.apache.org/jira/browse/FLINK-17195
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.10.0
> Reporter: Teng Fei Liao
> Priority: Major
>
> Hey, in one of my SourceFunctions, I'm calling ServiceLoader.load(MyDefiniedService.class) which internally fetches the ClassLoader by calling Thread.currentThread().getContextClassLoader(). It seems like whichever ClassLoader this fetches is unaware of any jars/code that I've shipped.
> My application code has not changed and this came up in my attempt switch planners from the old planner to the blink planner. Would appreciate any help I can get on this, thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)