cloud-fan commented on pull request #28128:
URL: https://github.com/apache/spark/pull/28128#issuecomment-623940931


   per-session listeners is a common use case. Does the new method remove these 
user-registered per-session listeners? (registered by `session.listenerManager`)
   
   AFAIK the reported issue is memory leak. If it's caused by listeners, I 
think there are 2 ways to fix it:
   1. add an explicit API to remove listeners
   2. make the listeners not reference the session instance.
   
   Can you explain more about how we leak the spark session instance? Then we 
can discuss how to fix it.


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



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

Reply via email to