{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5929","labels_url":"https://api.github.com/repos/apache/spark/issues/5929/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5929/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5929/events","html_url":"https://github.com/apache/spark/pull/5929","id":73477687,"number":5929,"title":"[SPARK-7217][STREAMING] Add configuration to control the default behavior of StreamingContext.stop() implicitly calling SparkContext.stop()","user":{"login":"tdas","id":663212,"avatar_url":"https://avatars.githubusercontent.com/u/663212?v=3","gravatar_id":"","url":"https://api.github.com/users/tdas","html_url":"https://github.com/tdas","followers_url":"https://api.github.com/users/tdas/followers","following_url":"https://api.github.com/users/tdas/following{/other_user}","gists_url":"https://api.github.com/users/tdas/gists{/gist_id}","starred_url":"https://api.github.com/users/tdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdas/subscriptions","organizations_url":"https://api.github.com/users/tdas/orgs","repos_url":"https://api.github.com/users/tdas/repos","events_url":"https://api.github.com/users/tdas/events{/privacy}","received_events_url":"https://api.github.com/users/tdas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-05-06T00:55:48Z","updated_at":"2015-05-06T04:46:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5929","html_url":"https://github.com/apache/spark/pull/5929","diff_url":"https://github.com/apache/spark/pull/5929.diff","patch_url":"https://github.com/apache/spark/pull/5929.patch"},"body":"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 PR adds 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.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/99320192","html_url":"https://github.com/apache/spark/pull/5929#issuecomment-99320192","issue_url":"https://api.github.com/repos/apache/spark/issues/5929","id":99320192,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T04:46:06Z","updated_at":"2015-05-06T04:46:06Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31939/\nTest PASSed."}}