[
https://issues.apache.org/jira/browse/SPARK-12524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-12524.
-------------------------------
Resolution: Not A Problem
Target Version/s: (was: 2.0.0)
You can do this already, but Spark has to know that this condition is true, and
you do that by supplying a Partitioner that partitions the RDD you groupByKey,
and supply the same Partitioner to groupByKey. It will not shuffle.
> 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: 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: [email protected]
For additional commands, e-mail: [email protected]