You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2013/11/06 22:27:52 UTC

[2/2] git commit: Merge pull request #144 from liancheng/runjob-clean

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 <rx...@apache.org>
Authored: Wed Nov 6 13:27:47 2013 -0800
Committer: Reynold Xin <rx...@apache.org>
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(-)
----------------------------------------------------------------------