Skip to content

Commit

Permalink
code Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
liguoqiang committed Mar 4, 2014
1 parent 3feb3a8 commit ac006a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/scala/org/apache/spark/SparkContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,8 @@ class SparkContext(
partitions: Seq[Int],
allowLocal: Boolean,
resultHandler: (Int, U) => Unit) {
require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty, "partition index out of range")
require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty,
"partition index out of range")
val callSite = getCallSite
val cleanedFunc = clean(func)
logInfo("Starting job: " + callSite)
Expand Down Expand Up @@ -951,7 +952,8 @@ class SparkContext(
resultHandler: (Int, U) => Unit,
resultFunc: => R): SimpleFutureAction[R] =
{
require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty, "partition index out of range")
require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty,
"partition index out of range")
val cleanF = clean(processPartition)
val callSite = getCallSite
val waiter = dagScheduler.submitJob(
Expand Down

0 comments on commit ac006a3

Please sign in to comment.