Daniel Liu created SPARK-5191:
---------------------------------

             Summary: Pyspark: scheduler hangs when importing a standalone 
pyspark app
                 Key: SPARK-5191
                 URL: https://issues.apache.org/jira/browse/SPARK-5191
             Project: Spark
          Issue Type: Bug
            Reporter: Daniel Liu


In a.py:

from pyspark import SparkContext

sc = SparkContext("local", "test spark")

rdd = sc.parallelize(range(1, 10))
print rdd.count()

In b.py:

from a import *


`python a.py` runs fine
`python b.py` will hang at TaskSchedulerImpl: Removed TaskSet 0.0, whose tasks 
have all completed, from pool

`./bin/spark-submit --py-files a.py b.py` has the same problem




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

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

Reply via email to