[ 
https://issues.apache.org/jira/browse/SPARK-12001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Rosen resolved SPARK-12001.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.0

Issue resolved by pull request 9982
[https://github.com/apache/spark/pull/9982]

> StreamingContext cannot be completely stopped if the stop() call is 
> interrupted
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-12001
>                 URL: https://issues.apache.org/jira/browse/SPARK-12001
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>              Labels: backport-needed
>             Fix For: 1.7.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to