[ 
https://issues.apache.org/jira/browse/SPARK-12847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tathagata Das resolved SPARK-12847.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> Remove StreamingListenerBus and post all Streaming events to the same thread 
> as Spark events
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-12847
>                 URL: https://issues.apache.org/jira/browse/SPARK-12847
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, Streaming
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>             Fix For: 2.0.0
>
>
> SparkListener.onOtherEvent  was added in 
> https://github.com/apache/spark/pull/10061. SQLListener uses it to dispatch 
> SQL special events instead of creating a new separate listener bus.
> Streaming can also use the similar approach to eliminate the 
> StreamingListenerBus. Right now, nondeterministic message order in two 
> listener buses are really tricky when someone implements both SparkListener 
> and StreamingListener. And if we can use only one listener bus in Spark, the 
> nondeterministic message order will be eliminated and we can also remove a 
> lot of codes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to