File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -847,7 +847,8 @@ class SparkContext(
847847 partitions : Seq [Int ],
848848 allowLocal : Boolean ,
849849 resultHandler : (Int , U ) => Unit ) {
850- require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty, " partition index out of range" )
850+ require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty,
851+ " partition index out of range" )
851852 val callSite = getCallSite
852853 val cleanedFunc = clean(func)
853854 logInfo(" Starting job: " + callSite)
@@ -951,7 +952,8 @@ class SparkContext(
951952 resultHandler : (Int , U ) => Unit ,
952953 resultFunc : => R ): SimpleFutureAction [R ] =
953954 {
954- require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty, " partition index out of range" )
955+ require(partitions.toSet.diff(rdd.partitions.map(_.index).toSet).isEmpty,
956+ " partition index out of range" )
955957 val cleanF = clean(processPartition)
956958 val callSite = getCallSite
957959 val waiter = dagScheduler.submitJob(
You can’t perform that action at this time.
0 commit comments