aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorShixiong Zhu <shixiong@databricks.com>2016-08-31 10:56:02 -0700
committerMarcelo Vanzin <vanzin@cloudera.com>2016-08-31 10:56:02 -0700
commit9bcb33c54117cebc9e087017bf4e4163edaeff17 (patch)
tree5dc1c79fc73c00df611b217bd0c2fdd11000468f /common
parent0611b3a2bf6d73ab62ee133fbb70430839bea7bc (diff)
downloadspark-9bcb33c54117cebc9e087017bf4e4163edaeff17.tar.gz
spark-9bcb33c54117cebc9e087017bf4e4163edaeff17.tar.bz2
spark-9bcb33c54117cebc9e087017bf4e4163edaeff17.zip
[SPARK-17316][CORE] Make CoarseGrainedSchedulerBackend.removeExecutor non-blocking
## What changes were proposed in this pull request? StandaloneSchedulerBackend.executorRemoved is a blocking call right now. It may cause some deadlock since it's called inside StandaloneAppClient.ClientEndpoint. This PR just changed CoarseGrainedSchedulerBackend.removeExecutor to be non-blocking. It's safe since the only two usages (StandaloneSchedulerBackend and YarnSchedulerEndpoint) don't need the return value). ## How was this patch tested? Jenkins unit tests. Author: Shixiong Zhu <shixiong@databricks.com> Closes #14882 from zsxwing/SPARK-17316.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions