apache/spark — pull request #550 by techaddict (2014-04-25 12:48:09+00:00)
Title: 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.