beliefer commented on a change in pull request #28641:
URL: https://github.com/apache/spark/pull/28641#discussion_r435119328



##########
File path: 
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -889,16 +870,40 @@ class DAGSchedulerSuite extends SparkFunSuite with 
LocalSparkContext with TimeLi
    * @param stageId - The current stageId
    * @param attemptIdx - The current attempt count
    * @param numShufflePartitions - The number of partitions in the next stage
+   * @param taskSetOpt - The index of task set
+   * @param hostNames - Host on which each task in the task set is executed
+   * @param mapTaskIds - ID of each task in the task set
+   * @param execIds - ID of the executor in which each task in the task set is 
executed
    */
   private def completeShuffleMapStageSuccessfully(
       stageId: Int,
       attemptIdx: Int,
-      numShufflePartitions: Int): Unit = {
-    val stageAttempt = taskSets.last
+      numShufflePartitions: Int,
+      taskSetOpt: Option[Int] = None,

Review comment:
       Good idea. I will improve it.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to