You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2015/12/25 10:53:49 UTC

[jira] [Commented] (SPARK-12524) Group by key in a pairrdd without any shuffle

    [ https://issues.apache.org/jira/browse/SPARK-12524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071473#comment-15071473 ] 

Herman van Hovell commented on SPARK-12524:
-------------------------------------------

I think you are looking for something similar to SPARK-12394. You then would be able to solve your problem using dataframes/datasets.

Doing this on opaque RDD's is (quite a bit) harder.

> Group by key in a pairrdd without any shuffle
> ---------------------------------------------
>
>                 Key: SPARK-12524
>                 URL: https://issues.apache.org/jira/browse/SPARK-12524
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build, Java API
>    Affects Versions: 1.5.2
>            Reporter: Shushant Arora
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> In a PairRDD<K,V>. When we are all values of same key are in same partition and want to perform group by key locally and no reduce/aggregation operation afterwords just further tranformation on grouped rdd. There is no facility for that. We have to perform shuffle which is costly.



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