[ https://issues.apache.org/jira/browse/SPARK-12001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen updated SPARK-12001: ------------------------------- Labels: backport-needed (was: ) > 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