tinaselenge commented on code in PR #25445:
URL: https://github.com/apache/flink/pull/25445#discussion_r1808630829


##########
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesClusterDescriptor.java:
##########
@@ -214,9 +215,12 @@ public ClusterClientProvider<String> 
deployApplicationCluster(
 
         applicationConfiguration.applyToConfiguration(flinkConfig);
 
-        // No need to do pipelineJars validation if it is a PyFlink job.
+        // No need to do pipelineJars validation if it is a PyFlink job or no 
jars specified in
+        // pipeline.jars (to use jars in system classpath instead).
         if 
(!(PackagedProgramUtils.isPython(applicationConfiguration.getApplicationClassName())
-                || 
PackagedProgramUtils.isPython(applicationConfiguration.getProgramArguments()))) 
{
+                        || PackagedProgramUtils.isPython(
+                                
applicationConfiguration.getProgramArguments()))
+                && flinkConfig.get(PipelineOptions.JARS) != null) {

Review Comment:
   good idea!



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