We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f5c8d commit ad6ff49Copy full SHA for ad6ff49
core/src/main/scala/org/apache/spark/scheduler/LiveListenerBus.scala
@@ -106,7 +106,7 @@ private[spark] class LiveListenerBus(conf: SparkConf) {
106
}
107
108
109
- /** An alias for postToAll(), to avoid changing all call sites. */
+ /** Post an event to all queues. */
110
def post(event: SparkListenerEvent): Unit = {
111
if (!stopped.get()) {
112
metrics.numEventsPosted.inc()
@@ -166,6 +166,7 @@ private[spark] class LiveListenerBus(conf: SparkConf) {
166
167
synchronized {
168
queues.asScala.foreach(_.stop())
169
+ queues.clear()
170
171
172
0 commit comments