GitHub user squito opened a pull request:

    https://github.com/apache/spark/pull/20987

    [SPARK-23816][CORE] Killed tasks should ignore FetchFailures.

    SPARK-19276 ensured that FetchFailures do not get swallowed by other
    layers of exception handling, but it also meant that a killed task could
    look like a fetch failure.  This is particularly a problem with
    speculative execution, where we expect to kill tasks as they are reading
    shuffle data.  The fix is to ensure that we always check for killed
    tasks first.
    
    Added a new unit test which fails before the fix, ran it 1k times to
    check for flakiness.  Full suite of tests on jenkins.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/squito/spark SPARK-23816

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20987.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 #20987
    
----
commit d886ba3840ab06cd3a5d9dea7d47a8e156d5eb72
Author: Imran Rashid <irashid@...>
Date:   2018-04-05T16:29:01Z

    [SPARK-23816][CORE] Killed tasks should ignore FetchFailures.
    
    SPARK-19276 ensured that FetchFailures do not get swallowed by other
    layers of exception handling, but it also meant that a killed task could
    look like a fetch failure.  This is particularly a problem with
    speculative execution, where we expect to kill tasks as they are reading
    shuffle data.  The fix is to ensure that we always check for killed
    tasks first.
    
    Added a new unit test which fails before the fix, ran it 1k times to
    check for flakiness.  Full suite of tests on jenkins.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to