Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1331

Graceful shutdown of Spark Streaming computation

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0
    • 1.0.0
    • DStreams
    • None

    Description

      Current version of StreamingContext.stop() directly kills all the data receivers (NetworkReceiver) without waiting for the data already received to be persisted and processed. Fixing this requires the following.
      1. Each receiver, when it gets a stop signal from the driver, should stop receiving, and then wait for all the received data to have been persisted and reported to the driver.
      2. The driver, after stopping all the receivers, should wait for all the received to be processed.

      Attachments

        Activity

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

          People

            tdas Tathagata Das
            tdas Tathagata Das
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment