Prabin Banka created SPARK-1550:
-----------------------------------
Summary: 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
Reporter: Prabin Banka
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)