juliuszsompolski commented on issue #26378: 
[SPARK-29724][SPARK-29726][WEBUI][SQL] Support JDBC/ODBC tab for HistoryServer 
WebUI
URL: https://github.com/apache/spark/pull/26378#issuecomment-550287187
 
 
   > :+1: to @AngersZhuuuu suggestion. To avoid changes in the operation 
classes, you could call keep calling the onFooBar functions directly there, and 
then if (live) { postLiveListenerBus(createEvent) } from there.
   
   Actually, let's think a bit more about it.
   Normal listeners work by getting events from the live listener bus, not be 
called directly. So maybe it's better to make it behave the same way and also 
post events?
   The only argument against it is that the listener bus can drop events if it 
becomes to busy, but the same argument applies for other Spark UI events. 
Making it be fully events driven, like in this PR, makes it consistent with all 
other SparkListeners.
   WDYT @shahidki31 @AngersZhuuuu @wangyum @gengliangwang ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to