You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/03/15 22:25:38 UTC
[jira] [Resolved] (SPARK-6344) Pyspark local stalls when take()
before count() on cached rdd
[ https://issues.apache.org/jira/browse/SPARK-6344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-6344.
------------------------------
Resolution: Duplicate
> Pyspark local stalls when take() before count() on cached rdd
> -------------------------------------------------------------
>
> Key: SPARK-6344
> URL: https://issues.apache.org/jira/browse/SPARK-6344
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 1.2.0
> Environment: Centos 6.6
> CDH5.3.2
> Reporter: Greg Phillips
> Priority: Minor
>
> Finishes successfully:
> {code:title=pySparkTest.py|borderStyle=solid}
> words = sc.textFile("testfile.csv").cache()
> word_count = words.count()
> sample = words.take(15)
> {code}
> Stalls at: "Finished task 0.0 in stage 1.0 (TID 1) in 28 ms on localhost (1/2)":
> {code:title=pySparkTestStalls.py|borderStyle=solid}
> words = sc.textFile("testfile.csv").cache()
> sample = words.take(15)
> word_count = words.count()
> {code}
> Removing cache() allows the second snippet to complete successfully.
--
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