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_r336102079
##########
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:
see my comment below. We can always do the null check but it is redundant.
----------------------------------------------------------------
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