Github user mengxr commented on a diff in the pull request: https://github.com/apache/spark/pull/21758#discussion_r202854038 --- Diff: core/src/main/scala/org/apache/spark/scheduler/ActiveJob.scala --- @@ -60,4 +60,10 @@ private[spark] class ActiveJob( val finished = Array.fill[Boolean](numPartitions)(false) var numFinished = 0 + + // Mark all the partitions of the stage to be not finished. + def clearResult(): Unit = { --- End diff -- It is not clear to me that "clearResult" accurately describes what it does. `markAllPartitionsAsUnfinished`? Better names are welcome!
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org