wangshengjie123 opened a new pull request #34834: URL: https://github.com/apache/spark/pull/34834
### What changes were proposed in this pull request? When a task failed count reach the max threshold, abort check if another attempt succeed. ### Why are the changes needed? In extreme situation, if one task has failed 3 times(max failed threshold is 4 in default), and there is a retry task and speculative task both in running state, then one of these 2 task attempts succeed and to cancel another. But executor which task need to be cancelled lost(oom in our situcation), this task marked as failed, and TaskSetManager handle this failed task attempt, it has failed 4 times so abort this stage and cause job failed. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Unit test. -- 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]
