GitHub user liyichao opened a pull request:
https://github.com/apache/spark/pull/18070
Convert CommitDenied to TaskKilled.
## What changes were proposed in this pull request?
In executor, `CommitDeniedException` is converted to `TaskKilledException`
to avoid the inconsistency of taskState because there exists a race between
when the driver kills and when the executor tries to commit.
## How was this patch tested?
No tests because it is straightforward.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liyichao/spark SPARK-20713
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18070.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 #18070
----
commit 3467d5d2c8dc60654575d4aecd2771a74a0f3fea
Author: Li Yichao <[email protected]>
Date: 2017-05-23T09:39:17Z
Convert CommitDenied to TaskKilled.
----
---
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]