You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/11/19 01:28:34 UTC

[jira] [Updated] (SPARK-4433) Racing condition in zipWithIndex

     [ https://issues.apache.org/jira/browse/SPARK-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng updated SPARK-4433:
---------------------------------
    Target Version/s: 1.1.1, 1.2.0, 1.0.3  (was: 1.2.0, 1.0.3, 1.1.2)

> Racing condition in zipWithIndex
> --------------------------------
>
>                 Key: SPARK-4433
>                 URL: https://issues.apache.org/jira/browse/SPARK-4433
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.0.2, 1.1.1, 1.2.0
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>             Fix For: 1.1.1, 1.2.0, 1.0.3
>
>
> Spark hangs with the following code:
> {code}
> sc.parallelize(1 to 10).zipWithIndex.repartition(10).count()
> {code}
> This is because ZippedWithIndexRDD triggers a job in getPartitions and it cause a deadlock in DAGScheduler.getPreferredLocs.



--
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