tillrohrmann commented on a change in pull request #11408: 
[FLINK-15989][FLINK-16225] Improve direct and metaspace out-of-memory error 
handling
URL: https://github.com/apache/flink/pull/11408#discussion_r395645257
 
 

 ##########
 File path: 
flink-tests/src/test/java/org/apache/flink/test/recovery/AbstractTaskManagerProcessFailureRecoveryTest.java
 ##########
 @@ -258,7 +258,7 @@ protected static void printProcessLog(String processName, 
TestProcess process) {
                        
System.out.println("-----------------------------------------");
                        System.out.println(" BEGIN SPAWNED PROCESS LOG FOR " + 
processName);
                        
System.out.println("-----------------------------------------");
-                       System.out.println(process.getOutput().toString());
+                       System.out.println(process.getErrorOutput().toString());
 
 Review comment:
   Why is this change ok? Is the log being logged to stderr?

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

Reply via email to