Please remove me from the mail list. -----邮件原件----- 发件人: CodingCat [mailto:g...@git.apache.org] 发送时间: 2014年3月7日 7:38 收件人: dev@spark.apache.org 主题: [GitHub] spark pull request: Fix #SPARK-1149 Bad partitioners can cause Spa...
Github user CodingCat commented on a diff in the pull request: https://github.com/apache/spark/pull/44#discussion_r10367306 --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala --- @@ -847,6 +847,8 @@ class SparkContext( partitions: Seq[Int], allowLocal: Boolean, resultHandler: (Int, U) => Unit) { + val outIndex = partitions.toSet.diff(rdd.partitions.map(_.index).toSet) --- End diff -- I agree...since in current code, all RDDs have continuous index space --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---