Github user jiangxb1987 commented on a diff in the pull request: https://github.com/apache/spark/pull/22240#discussion_r213754911 --- Diff: core/src/main/scala/org/apache/spark/scheduler/Task.scala --- @@ -82,31 +82,22 @@ private[spark] abstract class Task[T]( SparkEnv.get.blockManager.registerTask(taskAttemptId) // TODO SPARK-24874 Allow create BarrierTaskContext based on partitions, instead of whether // the stage is barrier. - context = if (isBarrier) { --- End diff -- `context` is still used in the following statements.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org