Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21758#discussion_r203619611
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskDescription.scala ---
    @@ -50,6 +50,7 @@ private[spark] class TaskDescription(
         val executorId: String,
         val name: String,
         val index: Int,    // Index within this task's TaskSet
    +    val partitionId: Int,
    --- End diff --
    
    I'm wondering if we need this. For barrier stage we always retry the entire 
stage, so `index` must be equal to partitionId.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to