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 2020/09/19 15:20:22 UTC

[GitHub] [flink] jsycdut commented on a change in pull request #13396: [FLINK-19248] add missing lastJobExecutionResult assignment after job finished in ContexEnvironment

jsycdut commented on a change in pull request #13396:
URL: https://github.com/apache/flink/pull/13396#discussion_r491464771



##########
File path: flink-clients/src/main/java/org/apache/flink/client/program/ContextEnvironment.java
##########
@@ -76,6 +76,7 @@ public JobExecutionResult execute(String jobName) throws Exception {
 			final JobExecutionResult  jobExecutionResult = getJobExecutionResult(jobClient);
 			jobListeners.forEach(jobListener ->
 					jobListener.onJobExecuted(jobExecutionResult, null));
+			this.lastJobExecutionResult = jobExecutionResult;

Review comment:
       I got you.




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