Github user jinxing64 commented on a diff in the pull request: https://github.com/apache/spark/pull/17133#discussion_r104066996 --- Diff: core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala --- @@ -695,7 +695,8 @@ private[spark] class TaskSetManager( def handleSuccessfulTask(tid: Long, result: DirectTaskResult[_]): Unit = { val info = taskInfos(tid) val index = info.index - info.markFinished(TaskState.FINISHED) + // Mark task as finished. Note that finishing time here should be bigger than 0. --- End diff -- Thanks for review :) what I want to say is that `finishTime` of `TaskInfo` should be set larger than 0, otherwise `TaskInfo.finishTime` will return false. I removed the comments and added an `assert` inside `TaskInfo`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org