GitHub user Ngone51 opened a pull request:

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

    [SPARK-24141][CORE] Fix bug in CoarseGrainedSchedulerBackend.killExecutors

    ## What changes were proposed in this pull request?
    
    In method *CoarseGrainedSchedulerBackend.killExecutors()*, 
`numPendingExecutors` should add 
    `executorsToKill.size` rather than `knownExecutors.size` if we do not 
adjust target number of executors.
    
    ## How was this patch tested?
    
    N/A


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

    $ git pull https://github.com/Ngone51/spark SPARK-24141

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

    https://github.com/apache/spark/pull/21209.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 #21209
    
----
commit 264f316c178ff32ea632cc3db7e20ab68d555b85
Author: wuyi <ngone_5451@...>
Date:   2018-05-02T01:50:01Z

    fix a bug in killExecutors

----


---

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

Reply via email to