diff options
author | Jimmy Xiang <jxiang@apache.org> | 2017-03-09 10:52:18 -0800 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2017-03-09 10:52:18 -0800 |
commit | b60b9fc10a1ee52c3c021a4a5faf10f92f83e3c9 (patch) | |
tree | b9d7b7d2a0e7916d436c6f5f471972d118c0d443 /core/src/test | |
parent | 206030bd12405623c00c1ff334663984b9250adb (diff) | |
download | spark-b60b9fc10a1ee52c3c021a4a5faf10f92f83e3c9.tar.gz spark-b60b9fc10a1ee52c3c021a4a5faf10f92f83e3c9.tar.bz2 spark-b60b9fc10a1ee52c3c021a4a5faf10f92f83e3c9.zip |
[SPARK-19757][CORE] DriverEndpoint#makeOffers race against CoarseGrainedSchedulerBackend#killExecutors
## What changes were proposed in this pull request?
While some executors are being killed due to idleness, if some new tasks come in, driver could assign them to some executors are being killed. These tasks will fail later when the executors are lost. This patch is to make sure CoarseGrainedSchedulerBackend#killExecutors and DriverEndpoint#makeOffers are properly synchronized.
## How was this patch tested?
manual tests
Author: Jimmy Xiang <jxiang@apache.org>
Closes #17091 from jxiang/spark-19757.
Diffstat (limited to 'core/src/test')
0 files changed, 0 insertions, 0 deletions