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/02/20 13:30:11 UTC

[GitHub] [flink] rkhachatryan commented on a change in pull request #11071: [FLINK-16019][runtime] fix ContinuousFileReaderOperator error reporting

rkhachatryan commented on a change in pull request #11071: [FLINK-16019][runtime] fix ContinuousFileReaderOperator error reporting
URL: https://github.com/apache/flink/pull/11071#discussion_r381997840
 
 

 ##########
 File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java
 ##########
 @@ -449,7 +450,7 @@ private void cleanUp() {
 			try {
 				r.run();
 			} catch (Exception e) {
-				firstException = ExceptionUtils.firstOrSuppressed(firstException, e);
+				firstException = ExceptionUtils.firstOrSuppressed(e, firstException);
 
 Review comment:
   It requires some more configuration like time characteristic and types.
   I'm not saying it's not possible or difficult, I'm just saying it doesn't worth it.
   

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