bgeng777 commented on a change in pull request #18531:
URL: https://github.com/apache/flink/pull/18531#discussion_r801326773



##########
File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java
##########
@@ -910,14 +910,28 @@ private ApplicationReport startAppMaster(
         }
 
         // Upload and register user jars
-        final List<String> userClassPaths =
+        List<String> userClassPaths =

Review comment:
       Because we need to check if usrlib exists later. If usrlib exists, we 
need `userClassPaths.addAll(usrLibClassPaths);` so we can reuse current code to 
make other options o YarnConfigOptions.UserJarInclusion work as expected.




-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to