Skip to content
Snippets Groups Projects
Commit 938434dc authored by Dongjoon Hyun's avatar Dongjoon Hyun Committed by Marcelo Vanzin
Browse files

[SPARK-15913][CORE] Dispatcher.stopped should be enclosed by synchronized block.

## What changes were proposed in this pull request?

`Dispatcher.stopped` is guarded by `this`, but it is used without synchronization in `postMessage` function. This PR fixes this and also the exception message became more accurate.

## How was this patch tested?

Pass the existing Jenkins tests.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #13634 from dongjoon-hyun/SPARK-15913.
parent cd47e233
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment