Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/4066#issuecomment-72783048
One approach would be to have non-authorized committers block in the
`canCommit` call until the master knows whether the authorized commit has
succeeded. In these cases, we'd only send commit denied once at least one copy
of the task had successfully committed its output.
Another hackier approach would be to not count speculative tasks' failures
towards the total task failure count and assume that we'll eventually rack up
enough non-speculative failures to abort the job.
Pragmatically, though, we could just choose to ignore this issue: if the
implementation is correct, then we should only get into an infinite commit
denial loop if the authorized committer keeps failing, which will trigger a job
failure because commit failures are counted as task failures.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]