Jingsong Lee created FLINK-14808:
------------------------------------

             Summary: ClientUtils set thread ClassLoader that is different from 
the user cl of PackagedProgram
                 Key: FLINK-14808
                 URL: https://issues.apache.org/jira/browse/FLINK-14808
             Project: Flink
          Issue Type: Bug
          Components: Client / Job Submission
            Reporter: Jingsong Lee
             Fix For: 1.10.0


In ClientUtils.executeProgram, it create a new userCodeClassLoader and set it 
to thread context. (Name it cl1).

But in PackagedProgram, it use a different class loader to create user Class. 
(Name it cl2).

So in user's code,  if user use thread loader to create a class, this class is 
come from cl1, if user want to work this class with their own class, there 
should be a failure, because them come from different class loader.

Root cause: https://issues.apache.org/jira/browse/FLINK-14745



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to