提交 0f71ab3e 编写于 作者: R Roman Khachatryan 提交者: Piotr Nowojski

[FLINK-16019][runtime] fix ContinuousFileReaderOperator error handling

上级 7bc7930d
......@@ -376,7 +376,7 @@ class ContinuousFileReaderOperator<OUT> extends AbstractStreamOperator<OUT>
try {
cleanUp();
} catch (Exception ex) {
e = ExceptionUtils.firstOrSuppressed(ex, e);
e = ex;
}
}
{
......@@ -442,7 +442,7 @@ class ContinuousFileReaderOperator<OUT> extends AbstractStreamOperator<OUT>
try {
r.run();
} catch (Exception e) {
firstException = ExceptionUtils.firstOrSuppressed(firstException, e);
firstException = ExceptionUtils.firstOrSuppressed(e, firstException);
}
}
currentSplit = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册