GitHub user jxiang opened a pull request:

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

    [SPARK-19757][CORE] Executor with task scheduled could be killed due to 
idleness

    ## What changes were proposed in this pull request?
    In makeOffers, put in one synchronization block to check if
    an executor is alive, and schedule a task to it. So that the
    executor won't be killed in the middle
    
    (Please fill in changes proposed in this fix)
    
    ## How was this patch tested?
    manual tests
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


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

    $ git pull https://github.com/jxiang/spark spark-19757

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

    https://github.com/apache/spark/pull/17091.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 #17091
    
----
commit 6b57d7b0d7ffb511e0348ef3bdcf6f1061225984
Author: Jimmy Xiang <jxi...@apache.org>
Date:   2017-02-28T00:27:45Z

    [CORE] Executor with task scheduled could be killed due to idleness

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to