Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29364

Root cause of Exceptions thrown in the SourceReader start() method gets "swallowed".

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.15.3
    • None
    • Runtime / Task
    • None

    Description

      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

      But the execution falls through to Task.java#L780  and discards the root cause of
      canceling the source invokable without recording the actual reason.

       

      Hot to reproduce: DataGeneratorSourceITCase.java#L117 

      Attachments

        Activity

          People

            Unassigned Unassigned
            afedulov Alexander Fedulov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: