Github user squito commented on the issue: https://github.com/apache/spark/pull/14079 I updated it to take into account preemption, and also noticed that `TaskKilled` and `TaskCommitDenied` weren't handled either, so I added those and a test. I also tried to clean up some of the handling using `countTowardsTaskFailures` -- that wasn't on `TaskKilled` earlier, the code just special-cased it elsewhere (by checking state = KILLED, which is the same thing), I thought it would be better to unify it.
--- 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