liupc commented on a change in pull request #9683: [FLINK-14037]Use same 
userCodeClassLoader as jobManager in jobClient to fix input/…
URL: https://github.com/apache/flink/pull/9683#discussion_r324954939
 
 

 ##########
 File path: 
flink-clients/src/main/java/org/apache/flink/client/program/PackagedProgram.java
 ##########
 @@ -202,7 +228,9 @@ public PackagedProgram(File jarFile, List<URL> classpaths, 
@Nullable String entr
                // now that we have an entry point, we can extract the nested 
jar files (if any)
                this.extractedTempLibraries = jarFileUrl == null ? 
Collections.emptyList() : extractContainedLibraries(jarFileUrl);
                this.classpaths = classpaths;
-               this.userCodeClassLoader = 
JobWithJars.buildUserCodeClassLoader(getAllLibraries(), classpaths, 
getClass().getClassLoader());
+
+               this.userCodeClassLoader = JobWithJars.buildUserCodeClassLoader(
+                       getAllLibraries(), classpaths, 
getClass().getClassLoader(), conf);
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to