[jira] [Created] (FLINK-7656) Switch to user ClassLoader when invoking initializeOnMaster finalizeOnMaster

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7656) Switch to user ClassLoader when invoking initializeOnMaster finalizeOnMaster

Shang Yuanchun (Jira)
Fabian Hueske created FLINK-7656:
------------------------------------

             Summary: Switch to user ClassLoader when invoking initializeOnMaster finalizeOnMaster
                 Key: FLINK-7656
                 URL: https://issues.apache.org/jira/browse/FLINK-7656
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime
    Affects Versions: 1.3.2
            Reporter: Fabian Hueske
            Assignee: Fabian Hueske


The contract that Flink provides to usercode is that that the usercode classloader is the context classloader whenever usercode is called.

In {{OutputFormatVertex}} usercode is called in the {{initializeOnMaster()}} and {{finalizeOnMaster()}} methods but the context classloader is not set to the usercode classloader.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)