StephanEwen commented on a change in pull request #15557:
URL: https://github.com/apache/flink/pull/15557#discussion_r613160817
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/source/coordinator/SourceCoordinatorContext.java
##########
@@ -216,13 +201,8 @@ public void signalNoMoreSplits(int subtask) {
// Ensure the split assignment is done by the the coordinator executor.
callInCoordinatorThread(
() -> {
- try {
- operatorCoordinatorContext.sendEvent(new
NoMoreSplitsEvent(), subtask);
- return null; // void return value
- } catch (TaskNotRunningException e) {
- throw new FlinkRuntimeException(
- "Failed to send 'NoMoreSplits' to reader " +
subtask, e);
- }
+ operatorCoordinatorContext.sendEvent(new
NoMoreSplitsEvent(), subtask);
Review comment:
same as above
--
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]