diff options
author | Nong Li <nong@databricks.com> | 2016-01-04 10:37:56 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-01-04 10:37:56 -0800 |
commit | 8f659393b270c46e940c4e98af2d996bd4fd6442 (patch) | |
tree | 41f90e41b704076e3a609fa6534ebd7faecdd010 /dev/run-tests.py | |
parent | 962aac4db99f3988c07ccb23439327c18ec178f1 (diff) | |
download | spark-8f659393b270c46e940c4e98af2d996bd4fd6442.tar.gz spark-8f659393b270c46e940c4e98af2d996bd4fd6442.tar.bz2 spark-8f659393b270c46e940c4e98af2d996bd4fd6442.zip |
[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.
Author: Nong Li <nong@databricks.com>
Closes #10438 from nongli/spark-12486-executors.
Diffstat (limited to 'dev/run-tests.py')
0 files changed, 0 insertions, 0 deletions