You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matei Zaharia (JIRA)" <ji...@apache.org> on 2014/07/28 07:55:42 UTC
[jira] [Resolved] (SPARK-1550) Successive creation of spark context
fails in pyspark, if the previous initialization of spark context had
failed.
[ https://issues.apache.org/jira/browse/SPARK-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matei Zaharia resolved SPARK-1550.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
> Successive creation of spark context fails in pyspark, if the previous initialization of spark context had failed.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-1550
> URL: https://issues.apache.org/jira/browse/SPARK-1550
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 0.9.2, 1.0.0, 1.0.1
> Reporter: Prabin Banka
> Assignee: Josh Rosen
> Labels: pyspark, sparkcontext
> Fix For: 1.1.0
>
>
> For example;-
> In PySpark, if we try to initialize spark context with insufficient arguments, >>>sc=SparkContext('local')
> it fails with an exception
> Exception: An application name must be set in your configuration
> This is all fine.
> However, any successive creation of spark context with correct arguments, also fails,
> >>>s1=SparkContext('local', 'test1')
> AttributeError: 'SparkContext' object has no attribute 'master'
--
This message was sent by Atlassian JIRA
(v6.2#6252)