[
https://issues.apache.org/jira/browse/SPARK-7217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519593#comment-14519593
]
Sean Owen commented on SPARK-7217:
----------------------------------
FWIW I'd expect the current behavior since things like {{InputStream.close()}}
would always close the underlying stream, if one exists, in the JDK. I assume
you're not proposing changing that. How about a new optional param to control
whether to stop the underlying stream? Or make the implementation of
SparkContext for a specific app un-stoppable instead?
> Add configuration to disable stopping of SparkContext when
> StreamingContext.stop()
> ----------------------------------------------------------------------------------
>
> Key: SPARK-7217
> URL: https://issues.apache.org/jira/browse/SPARK-7217
> Project: Spark
> Issue Type: Improvement
> Components: Streaming
> Affects Versions: 1.3.1
> Reporter: Tathagata Das
> Assignee: Tathagata Das
>
> In environments like notebooks, the SparkContext is managed by the underlying
> infrastructure and it is expected that the SparkContext will not be stopped.
> However, StreamingContext.stop() calls SparkContext.stop() as a non-intuitive
> side-effect. This JIRA is to add a configuration in SparkConf that sets the
> default StreamingContext stop behavior. It should be such that the existing
> behavior does not change for existing users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]