You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2021/10/18 03:11:00 UTC
[jira] [Created] (FLINK-24572) Properly set the context ClassLoader
when calling OperatorCoordinator on JM side
Yun Gao created FLINK-24572:
-------------------------------
Summary: Properly set the context ClassLoader when calling OperatorCoordinator on JM side
Key: FLINK-24572
URL: https://issues.apache.org/jira/browse/FLINK-24572
Project: Flink
Issue Type: Bug
Components: Runtime / Coordination
Affects Versions: 1.14.0
Reporter: Yun Gao
Currently when calling methods of user defined OperatorCoordinator on JM side, the context ClassLoader is not set to the user ClassLoader. this might cause some problem.
For example, the Hadoop configuration first chose to use context ClassLoader for locating the configuration files like _core-site.xml ,_ and parse the class out of configuration. If the context ClassLoader is not set properly, the configurations file might be not located or the class might not be created, which might cause confusion to users.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)