aljoscha commented on a change in pull request #10434: [FLINK-15072][client]
executeAsync in ContextEnvironment from CliFrontend cause unexpected exception
URL: https://github.com/apache/flink/pull/10434#discussion_r356695445
##########
File path:
flink-java/src/main/java/org/apache/flink/api/java/ExecutionEnvironment.java
##########
@@ -826,6 +826,7 @@ public JobExecutionResult execute(String jobName) throws
Exception {
try {
if
(configuration.getBoolean(DeploymentOptions.ATTACHED)) {
lastJobExecutionResult =
jobClient.getJobExecutionResult(userClassloader).get();
+ lastJobExecutionResult.printResult();
Review comment:
I think we should not print this in the base execution environments. This
prints something that cannot be turned off, and so far we only printed that
when running from the CLI.
Now, this would print on `stdout` whenever a job is executed which could be
considered as noise.
----------------------------------------------------------------
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