timothy65535 commented on issue #981:
URL: 
https://github.com/apache/incubator-kyuubi/issues/981#issuecomment-909068309


   > If it is just a KV store, can we use a more generic one for Kyuubi events 
to hold in memory?
   
   Actually, it's seems not easy to implement the store, basically it needs to 
store different types of event and index / query them, and also update the 
state of execution statement, and so on. These which KyuubiStatementMonitor are 
doing
   
   As mentioned above, if we suppots the page on historyserver later, we have 
to face the `ElementTrackingStore`.
   
   <br>
   
   Refer to:
   
   
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/status/AppHistoryServerPlugin.scala
   
   
https://github.com/apache/incubator-kyuubi/blob/master/externals/kyuubi-spark-monitor/src/main/scala/org/apache/kyuubi/engine/spark/monitor/KyuubiStatementMonitor.scala
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to