You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/12/05 13:03:10 UTC

[GitHub] [flink] TisonKun commented on a change in pull request #10434: [FLINK-15072][client] Hijack executeAsync instead of execute in context environment

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_r354299510
 
 

 ##########
 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:
   Yes, I thought of printing information in execution. Will push a follow-up.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services