shuiqiangchen commented on a change in pull request #13322:
URL: https://github.com/apache/flink/pull/13322#discussion_r491760670



##########
File path: 
flink-clients/src/main/java/org/apache/flink/client/deployment/application/ClassPathPackagedProgramRetriever.java
##########
@@ -111,6 +112,20 @@ private ClassPathPackagedProgramRetriever(
        @Override
        public PackagedProgram getPackagedProgram() throws FlinkException {
                try {
+
+                       // It is Python job if program arguments contain 
"-py"/--python" or "-pym/--pyModule", set the fixed
+                       // jobClassName and jarFile path.
+                       if (PackagedProgramUtils.isPython(jobClassName) || 
PackagedProgramUtils.isPython(programArguments)){
+                               String pythonJobClassName = 
PackagedProgramUtils.PYTHON_DRIVER_CLASS_NAME;
+                               File pythonJarFile = new 
File(PackagedProgramUtils.getPythonJar().getPath());

Review comment:
       Currently, we have no plan to support running Pyflink on yarn in 
application mode.




----------------------------------------------------------------
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:
[email protected]


Reply via email to