diff options
author | jinxing <jinxing@meituan.com> | 2017-02-09 16:05:44 -0800 |
---|---|---|
committer | Kay Ousterhout <kayousterhout@gmail.com> | 2017-02-09 16:05:44 -0800 |
commit | fd6c3a0b10ce43a56df845ba66d160b77f02e576 (patch) | |
tree | 2f2dc33b6eebb5278211093970c7205659e05a6c /docs | |
parent | 303f00a4bf6660dd83c8bd9e3a107bb3438a421b (diff) | |
download | spark-fd6c3a0b10ce43a56df845ba66d160b77f02e576.tar.gz spark-fd6c3a0b10ce43a56df845ba66d160b77f02e576.tar.bz2 spark-fd6c3a0b10ce43a56df845ba66d160b77f02e576.zip |
[SPARK-19263] Fix race in SchedulerIntegrationSuite.
## What changes were proposed in this pull request?
All the process of offering resource and generating `TaskDescription` should be guarded by taskScheduler.synchronized in `reviveOffers`, otherwise there is race condition.
## How was this patch tested?
Existing unit tests.
Author: jinxing <jinxing@meituan.com>
Closes #16831 from jinxing64/SPARK-19263-FixRaceInTest.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions