Github user CodingCat commented on a diff in the pull request:
https://github.com/apache/spark/pull/186#discussion_r11913917
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -1116,9 +1115,6 @@ class SparkContext(config: SparkConf) extends Logging
{
resultHandler: (Int, U) => Unit,
resultFunc: => R): SimpleFutureAction[R] =
{
- partitions.foreach{ p =>
- require(p >= 0 && p < rdd.partitions.size, s"Invalid partition
requested: $p")
- }
--- End diff --
ah, actually it's not in getMissingParentStages, it's in submitJob of
DAGScheduler
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---