Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/21698#discussion_r200046483 --- Diff: core/src/main/scala/org/apache/spark/rdd/RDD.scala --- @@ -461,9 +464,12 @@ abstract class RDD[T: ClassTag]( } : Iterator[(Int, T)] // include a shuffle step so that our upstream tasks are still distributed + val recomputeOnFailure = + conf.getBoolean("spark.shuffle.recomputeAllPartitionsOnRepartitionFailure", true) --- End diff -- put it in object `config`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org