You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2019/10/16 13:53:55 UTC

[flink] branch master updated: [FLINK-13097] Make the cause for EOFException explicit (buffer depletion)

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

aljoscha 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 8c7b2d8  [FLINK-13097] Make the cause for EOFException explicit (buffer depletion)
8c7b2d8 is described below

commit 8c7b2d8cf47a14e201f3b96701436d74bb98a2c8
Author: Cyrille Chépélov <cc...@transparencyrights.com>
AuthorDate: Thu Jul 4 10:07:13 2019 +0200

    [FLINK-13097] Make the cause for EOFException explicit (buffer depletion)
---
 .../org/apache/flink/runtime/io/disk/SimpleCollectingOutputView.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/SimpleCollectingOutputView.java b/flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/SimpleCollectingOutputView.java
index 1a45ff2..2fa6c88 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/SimpleCollectingOutputView.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/SimpleCollectingOutputView.java
@@ -76,7 +76,7 @@ public class SimpleCollectingOutputView extends AbstractPagedOutputView {
 			this.segmentNum++;
 			return next;
 		} else {
-			throw new EOFException();
+			throw new EOFException("Can't collect further: memorySource depleted");
 		}
 	}