We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a65903 commit e68210aCopy full SHA for e68210a
core/src/main/scala/org/apache/spark/SparkContext.scala
@@ -952,6 +952,8 @@ class SparkContext(
952
resultHandler: (Int, U) => Unit,
953
resultFunc: => R): SimpleFutureAction[R] =
954
{
955
+ val rddPartitions = rdd.partitions.map(_.index)
956
+ require(partitions.forall(rddPartitions.contains(_)), "partition index out of range")
957
val cleanF = clean(processPartition)
958
val callSite = getCallSite
959
val waiter = dagScheduler.submitJob(
0 commit comments