[jira] [Commented] (FLINK-29364) Root cause of Exceptions thrown in the SourceReader start() method gets "swallowed".
[ https://issues.apache.org/jira/browse/FLINK-29364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17641770#comment-17641770 ] Lijie Wang commented on FLINK-29364: I will close this ticket because it doesn't seem to exist and the reporter is no longer active. Feel free to reopen it if any further question. > Root cause of Exceptions thrown in the SourceReader start() method gets > "swallowed". > > > Key: FLINK-29364 > URL: https://issues.apache.org/jira/browse/FLINK-29364 > Project: Flink > Issue Type: Bug > Components: Runtime / Task >Affects Versions: 1.15.3 >Reporter: Alexander Fedulov >Priority: Major > > If an exception is thrown in the {_}SourceReader{_}'s _start()_ method, its > root cause does not get captured. > The details are still available here: > [Task.java#L758|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L758] > But the execution falls through to > [Task.java#L780|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L780] > and discards the root cause of > canceling the source invokable without recording the actual reason. > > Hot to reproduce: > [DataGeneratorSourceITCase.java#L117|https://github.com/afedulov/flink/blob/3df7669fcc6ba08c5147195b80cc97ac1481ec8c/flink-tests/src/test/java/org/apache/flink/api/connector/source/lib/DataGeneratorSourceITCase.java#L117] > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (FLINK-29364) Root cause of Exceptions thrown in the SourceReader start() method gets "swallowed".
[ https://issues.apache.org/jira/browse/FLINK-29364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17628164#comment-17628164 ] Yun Gao commented on FLINK-29364: - Thanks [~wanglijie] for the checking, and [~afedulov] Could you help to have a double check with that? > Root cause of Exceptions thrown in the SourceReader start() method gets > "swallowed". > > > Key: FLINK-29364 > URL: https://issues.apache.org/jira/browse/FLINK-29364 > Project: Flink > Issue Type: Bug > Components: Runtime / Task >Affects Versions: 1.15.2 >Reporter: Alexander Fedulov >Priority: Major > > If an exception is thrown in the {_}SourceReader{_}'s _start()_ method, its > root cause does not get captured. > The details are still available here: > [Task.java#L758|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L758] > But the execution falls through to > [Task.java#L780|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L780] > and discards the root cause of > canceling the source invokable without recording the actual reason. > > Hot to reproduce: > [DataGeneratorSourceITCase.java#L117|https://github.com/afedulov/flink/blob/3df7669fcc6ba08c5147195b80cc97ac1481ec8c/flink-tests/src/test/java/org/apache/flink/api/connector/source/lib/DataGeneratorSourceITCase.java#L117] > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (FLINK-29364) Root cause of Exceptions thrown in the SourceReader start() method gets "swallowed".
[ https://issues.apache.org/jira/browse/FLINK-29364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17624567#comment-17624567 ] Lijie Wang commented on FLINK-29364: -> But the execution falls through to [Task.java#L780|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L780] and discards the root cause of canceling the source invokable without recording the actual reason. Is this really the root cause? I think the actual cause has been recorded when call {{{}transitionState{}}}([Task.java#L778|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L778] and [Task.java#L1090|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L1090]) > Root cause of Exceptions thrown in the SourceReader start() method gets > "swallowed". > > > Key: FLINK-29364 > URL: https://issues.apache.org/jira/browse/FLINK-29364 > Project: Flink > Issue Type: Bug > Components: Runtime / Task >Affects Versions: 1.15.2 >Reporter: Alexander Fedulov >Priority: Major > > If an exception is thrown in the {_}SourceReader{_}'s _start()_ method, its > root cause does not get captured. > The details are still available here: > [Task.java#L758|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L758] > But the execution falls through to > [Task.java#L780|https://github.com/apache/flink/blob/bccecc23067eb7f18e20bade814be73393401be5/flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/Task.java#L780] > and discards the root cause of > canceling the source invokable without recording the actual reason. > > Hot to reproduce: > [DataGeneratorSourceITCase.java#L117|https://github.com/afedulov/flink/blob/3df7669fcc6ba08c5147195b80cc97ac1481ec8c/flink-tests/src/test/java/org/apache/flink/api/connector/source/lib/DataGeneratorSourceITCase.java#L117] > -- This message was sent by Atlassian Jira (v8.20.10#820010)