You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/07/30 07:16:39 UTC
[jira] [Resolved] (SPARK-2568) RangePartitioner should go through
the data only once
[ https://issues.apache.org/jira/browse/SPARK-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-2568.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
> RangePartitioner should go through the data only once
> -----------------------------------------------------
>
> Key: SPARK-2568
> URL: https://issues.apache.org/jira/browse/SPARK-2568
> Project: Spark
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Reynold Xin
> Assignee: Xiangrui Meng
> Fix For: 1.1.0
>
>
> As of Spark 1.0, RangePartitioner goes through data twice: once to compute the count and once to do sampling. As a result, to do sortByKey, Spark goes through data 3 times (once to count, once to sample, and once to sort).
> RangePartitioner should go through data only once (remove the count step).
--
This message was sent by Atlassian JIRA
(v6.2#6252)