diff options
author | Yonathan Randolph <yonathan@liftigniter.com> | 2016-03-16 09:34:04 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-03-16 09:34:04 +0000 |
commit | 05ab2948ab357fc07222bb3505df80b1886f7310 (patch) | |
tree | 7a2f7dcaf1293935702e5381c4bdfbb6ec73ee8a /launcher/src | |
parent | 431a3d04b437df4ab323fd925f57873aa6b8a0c8 (diff) | |
download | spark-05ab2948ab357fc07222bb3505df80b1886f7310.tar.gz spark-05ab2948ab357fc07222bb3505df80b1886f7310.tar.bz2 spark-05ab2948ab357fc07222bb3505df80b1886f7310.zip |
[SPARK-13906] Ensure that there are at least 2 dispatcher threads.
## What changes were proposed in this pull request?
Force at least two dispatcher-event-loop threads. Since SparkDeploySchedulerBackend (in AppClient) calls askWithRetry to CoarseGrainedScheduler in the same process, there the driver needs at least two dispatcher threads to prevent the dispatcher thread from hanging.
## How was this patch tested?
Manual.
Author: Yonathan Randolph <yonathangmail.com>
Author: Yonathan Randolph <yonathan@liftigniter.com>
Closes #11728 from yonran/SPARK-13906.
Diffstat (limited to 'launcher/src')
0 files changed, 0 insertions, 0 deletions