TisonKun commented on a change in pull request #9921: [FLINK-14130][client] 
Remove ClusterClient.run() methods
URL: https://github.com/apache/flink/pull/9921#discussion_r335900565
 
 

 ##########
 File path: 
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontend.java
 ##########
 @@ -729,12 +730,7 @@ private void disposeSavepoint(ClusterClient<?> 
clusterClient, String savepointPa
        protected void executeProgram(PackagedProgram program, ClusterClient<?> 
client, int parallelism) throws ProgramMissingJobException, 
ProgramInvocationException {
                logAndSysout("Starting execution of program");
 
-               final JobSubmissionResult result = client.run(program, 
parallelism);
-
-               if (null == result) {
 
 Review comment:
   never be null

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


With regards,
Apache Git Services

Reply via email to