Merge pull request #144 from liancheng/runjob-clean
Removed unused return value in SparkContext.runJob
Return type of this `runJob` version is `Unit`:
def runJob[T, U: ClassManifest](
rdd: RDD[T],
func: (TaskContext, Iterator[T]) => U,
partitions: Seq[Int],
allowLocal: Boolean,
resultHandler: (Int, U) => Unit) {
...
}
It's obviously unnecessary to "return" `result`.
Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/aadeda5e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/aadeda5e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/aadeda5e
Branch: refs/heads/master
Commit: aadeda5e7697a433c82879033e758fbc403680dc
Parents: 951024f a0c4565
Author: Reynold Xin <[email protected]>
Authored: Wed Nov 6 13:27:47 2013 -0800
Committer: Reynold Xin <[email protected]>
Committed: Wed Nov 6 13:27:47 2013 -0800
----------------------------------------------------------------------
core/src/main/scala/org/apache/spark/SparkContext.scala | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------