You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/05/23 09:57:15 UTC

[flink] branch master updated: [FLINK-12586][optimizer] Reverse stderr/stdout order

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 396e93c  [FLINK-12586][optimizer] Reverse stderr/stdout order
396e93c is described below

commit 396e93cc4c5fd4086d715234589b3a991a2c809b
Author: liyafan82 <42...@users.noreply.github.com>
AuthorDate: Thu May 23 17:57:03 2019 +0800

    [FLINK-12586][optimizer] Reverse stderr/stdout order
---
 .../org/apache/flink/client/program/OptimizerPlanEnvironment.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-clients/src/main/java/org/apache/flink/client/program/OptimizerPlanEnvironment.java b/flink-clients/src/main/java/org/apache/flink/client/program/OptimizerPlanEnvironment.java
index faacd9f..d524ad9 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/program/OptimizerPlanEnvironment.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/program/OptimizerPlanEnvironment.java
@@ -104,8 +104,8 @@ public class OptimizerPlanEnvironment extends ExecutionEnvironment {
 
 		throw new ProgramInvocationException(
 				"The program plan could not be fetched - the program aborted pre-maturely."
-						+ "\n\nSystem.err: " + (stdout.length() == 0 ? "(none)" : stdout)
-						+ "\n\nSystem.out: " + (stderr.length() == 0 ? "(none)" : stderr));
+						+ "\n\nSystem.err: " + (stderr.length() == 0 ? "(none)" : stderr)
+						+ "\n\nSystem.out: " + (stdout.length() == 0 ? "(none)" : stdout));
 	}
 	// ------------------------------------------------------------------------