TisonKun commented on a change in pull request #10434: [FLINK-15072][client]
Hijack executeAsync instead of execute in context environment
URL: https://github.com/apache/flink/pull/10434#discussion_r354316374
##########
File path:
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontend.java
##########
@@ -663,24 +660,12 @@ private void disposeSavepoint(ClusterClient<?>
clusterClient, String savepointPa
protected void executeProgram(
final Configuration configuration,
- final PackagedProgram program) throws
ProgramMissingJobException, ProgramInvocationException {
+ final PackagedProgram program) throws
ProgramInvocationException {
logAndSysout("Starting execution of program");
- JobSubmissionResult result =
ClientUtils.executeProgram(DefaultExecutorServiceLoader.INSTANCE,
configuration, program);
-
- if (result.isJobExecutionResult()) {
Review comment:
Actually with my follow up behavior also changed because previously(current
master) we print the last execution result here and if we move to context
environment we print execution result per execution.
----------------------------------------------------------------
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