You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/07/12 21:49:20 UTC

[jira] [Commented] (SPARK-972) PySpark's "cannot run multiple SparkContexts at once" message should give source locations

    [ https://issues.apache.org/jira/browse/SPARK-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373766#comment-15373766 ] 

Apache Spark commented on SPARK-972:
------------------------------------

User 'jyotiska' has created a pull request for this issue:
https://github.com/apache/spark/pull/34

> PySpark's "cannot run multiple SparkContexts at once" message should give source locations
> ------------------------------------------------------------------------------------------
>
>                 Key: SPARK-972
>                 URL: https://issues.apache.org/jira/browse/SPARK-972
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>            Reporter: Josh Rosen
>            Assignee: Jyotiska NK
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> It can be difficult to debug PySpark's "Cannot run multiple SparkContexts at once" error message if you're not sure where the first context is being created; it would be helpful if the SparkContext class remembered the linenumber/location where the  active context was created and printed it in the error message.



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

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