GitHub user techaddict opened a pull request:
https://github.com/apache/spark/pull/550
SPARK-1597: Add a version of reduceByKey that takes the Partitioner as a...
... second argument
Most of our shuffle methods can take a Partitioner or a number of
partitions as a second argument, but for some reason reduceByKey takes the
Partitioner as a first argument:
http://spark.apache.org/docs/0.9.1/api/core/#org.apache.spark.rdd.PairRDDFunctions.
Deprecated that version and added one where the Partitioner is the second
argument.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/techaddict/spark SPARK-1597
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/550.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #550
----
commit bac490c6f7301c6472a72db8adfda8bd1d7d6817
Author: Sandeep <[email protected]>
Date: 2014-04-25T07:59:04Z
SPARK-1597: Add a version of reduceByKey that takes the Partitioner as a
second argument
Most of our shuffle methods can take a Partitioner or a number of
partitions as a second argument, but for some reason reduceByKey takes the
Partitioner as a first argument:
http://spark.apache.org/docs/0.9.1/api/core/#org.apache.spark.rdd.PairRDDFunctions.
Deprecated that version and added one where the Partitioner is the second
argument.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---