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

StreamingContext cannot be completely stopped if the stop() call is interrupted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • DStreams

    Description

      If StreamingContext.stop() is interrupted midway through the call, the context will be marked as stopped but certain state will have not been cleaned up. Because the stopped flag will be set, subsequent stop() calls will be unable to finish stopping the context, preventing any new StreamingContexts from being created.

      We should mitigate this race condition by ensuring that the second stop() call is able to clean up the partially-stopped context.

      Attachments

        Activity

          People

            joshrosen Josh Rosen
            joshrosen Josh Rosen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: