kezhuw commented on a change in pull request #13776:
URL: https://github.com/apache/flink/pull/13776#discussion_r519442839



##########
File path: 
flink-connectors/flink-connector-base/src/main/java/org/apache/flink/connector/base/source/reader/fetcher/SplitFetcherManager.java
##########
@@ -112,7 +111,7 @@ public void accept(Throwable t) {
        public abstract void addSplits(List<SplitT> splitsToAdd);
 
        protected void startFetcher(SplitFetcher<E, SplitT> fetcher) {
-               executors.submit(new ThrowableCatchingRunnable(errorHandler, 
fetcher));
+               executors.submit(fetcher);

Review comment:
       @becketqin I see new code in `SplitFetcher.run` throwing exception after 
`shutdownHook.run`. Is there any specific reason where run `splitReader.close` 
after shutdownHook ? Or, in another word, does exception from 
`splitReader.close` should fail job ? I will do rebase to solve conflict, 
please take a took after rebasing.




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


Reply via email to