GitHub user advancedxy opened a pull request:

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

    [SPARK-23040][CORE]: Returns interruptible iterator for shuffle reader

    ## What changes were proposed in this pull request?
    
    Before this commit, a non-interruptible iterator is returned if aggregator 
or ordering is specified.
    This commit also ensures that sorter is closed even when task is 
cancelled(killed) in the middle of sorting.
    
    ## How was this patch tested?
    
    Add a unit test in JobCancellationSuite

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

    $ git pull https://github.com/advancedxy/spark SPARK-23040

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

    https://github.com/apache/spark/pull/20449.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 #20449
    
----
commit acca0e3da2da21e4e184f01b4e8f7b6b8c05ee1d
Author: Xianjin YE <advancedxy@...>
Date:   2018-01-31T06:27:21Z

    [SPARK-23040][CORE]: Returns interruptible iterator for shuffle reader
    
    Before this commit, a non-interruptible iterator is returned if
    aggregator or ordering is specified.

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to