GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/2343
[SPARK-3469] Call all TaskCompletionListeners even if some fail
This is necessary because we rely on this callback interface to clean
resources up. The old behavior would lead to resource leaks.
Note that this also changes the fault semantics of TaskCompletionListener.
Previously failures in TaskCompletionListeners would result in the task
being reported as failed. With this change, tasks won't be reported as
failed
simply because the execution of TaskCompletionListener fails.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark taskcontext-callback
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2343.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2343
----
commit 1cb444d4afc5355625d26fee7bd40ecb5532b8ca
Author: Reynold Xin <[email protected]>
Date: 2014-09-10T06:32:37Z
[SPARK-3469] Call all TaskCompletionListeners even if some fail.
Note that this also changes the fault semantics of TaskCompletionListener.
Previously failures in TaskCompletionListeners would result in the task
being reported as failed. With this change, tasks won't be reported as
failed
simply because the execution of TaskCompletionListener fails.
----
---
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]