GitHub user nongli opened a pull request:

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

    [SPARK-12486] Worker should kill the executors more forcefully if possible.

    This patch updates the ExecutorRunner's terminate path to use the new java 
8 API
    to terminate processes more forcefully if possible. If the executor is 
unhealthy,
    it would previously ignore the destroy() call. Presumably, the new java API 
was
    added to handle cases like this.
    
    We could update the termination path in the future to use OS specific 
commands
    for older java versions.

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

    $ git pull https://github.com/nongli/spark spark-12486-executors

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

    https://github.com/apache/spark/pull/10438.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 #10438
    
----
commit 55032eab1b39b83d4d12cb69d8d93cad195c6628
Author: Nong Li <n...@databricks.com>
Date:   2015-12-22T18:40:40Z

    [SPARK-12486] Worker should kill the executors more forcefully if possible.
    
    This patch updates the ExecutorRunner's terminate path to use the new java 
8 API
    to terminate processes more forcefully if possible. If the executor is 
unhealthy,
    it would previously ignore the destroy() call. Presumably, the new java API 
was
    added to handle cases like this.

----


---
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