diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2015-11-27 11:50:18 -0800 |
---|---|---|
committer | Shixiong Zhu <shixiong@databricks.com> | 2015-11-27 11:50:18 -0800 |
commit | f57e6c9effdb9e282fc8ae66dc30fe053fed5272 (patch) | |
tree | 0e4b5bebf7f1722cc7ae5c0d53eb9063878af8e4 /build/sbt | |
parent | ba02f6cb5a40511cefa511d410be93c035d43f23 (diff) | |
download | spark-f57e6c9effdb9e282fc8ae66dc30fe053fed5272.tar.gz spark-f57e6c9effdb9e282fc8ae66dc30fe053fed5272.tar.bz2 spark-f57e6c9effdb9e282fc8ae66dc30fe053fed5272.zip |
[SPARK-12021][STREAMING][TESTS] Fix the potential dead-lock in StreamingListenerSuite
In StreamingListenerSuite."don't call ssc.stop in listener", after the main thread calls `ssc.stop()`, `StreamingContextStoppingCollector` may call `ssc.stop()` in the listener bus thread, which is a dead-lock. This PR updated `StreamingContextStoppingCollector` to only call `ssc.stop()` in the first batch to avoid the dead-lock.
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #10011 from zsxwing/fix-test-deadlock.
Diffstat (limited to 'build/sbt')
0 files changed, 0 insertions, 0 deletions