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

NPE in FlinkKinesisConsumer if source was closed before run

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.2, 1.3.0
    • Connectors / Kinesis
    • None

    Description

      This was reported by an user: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-errors-out-and-job-fails-IOException-from-CollectSink-open-td12606.html

      The shutdownFetcher method of KinesisDataFetcher is not protected against the condition when the source was closed before it started running. Both mainThread and shardConsumersExecutor should have null checks.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mingleizhang zhangminglei
            tzulitai Tzu-Li (Gordon) Tai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment