Ngone51 commented on pull request #33872: URL: https://github.com/apache/spark/pull/33872#issuecomment-965407968
It turns out that we always cleanup the `taskIdToTaskSetManager` for a finished task via `cleanupTaskState(tid)`: https://github.com/apache/spark/blob/0494dc90af48ce7da0625485a4dc6917a244d580/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala#L811-L815 Therefore, `taskIdToTaskSetManager.contains(tid)` would always return `false` in `handleSuccessfulTask`, which leads to no task can update its finished state normally. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
