kl0u commented on a change in pull request #9090: [FLINK-13124] Don't forward
exceptions when finishing SourceStreamTask
URL: https://github.com/apache/flink/pull/9090#discussion_r302887969
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceStreamTask.java
##########
@@ -118,7 +124,9 @@ protected void performDefaultAction(ActionContext context)
throws Exception {
}
sourceThread.join();
- sourceThread.checkThrowSourceExecutionException();
+ if (!isFinished) {
Review comment:
Given the above comment, this can be a `protected` getter method for the
`finished` flag in the `StreamTask`, available to all `StreamTask`s.
----------------------------------------------------------------
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