You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Guoqiang Li (JIRA)" <ji...@apache.org> on 2014/05/13 08:50:14 UTC

[jira] [Updated] (SPARK-1817) RDD zip erroneous when partitions do not divide RDD count

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

Guoqiang Li updated SPARK-1817:
-------------------------------

    Priority: Blocker  (was: Major)

> RDD zip erroneous when partitions do not divide RDD count
> ---------------------------------------------------------
>
>                 Key: SPARK-1817
>                 URL: https://issues.apache.org/jira/browse/SPARK-1817
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Michael Malak
>            Assignee: Kan Zhang
>            Priority: Blocker
>
> Example:
> scala> sc.parallelize(1L to 2L,4).zip(sc.parallelize(11 to 12,4)).collect
> res1: Array[(Long, Int)] = Array((2,11))
> But more generally, it's whenever the number of partitions does not evenly divide the total number of elements in the RDD.
> See https://groups.google.com/forum/#!msg/spark-users/demrmjHFnoc/Ek3ijiXHr2MJ



--
This message was sent by Atlassian JIRA
(v6.2#6252)