yaooqinn commented on issue #1800:
URL: 
https://github.com/apache/incubator-kyuubi/issues/1800#issuecomment-1016181718


   have you checked the jstack to see which thread blocked termination?
   
   BTW, we seem to have a listener to handle it
   
   ```scala
     override def onApplicationEnd(event: SparkListenerApplicationEnd): Unit = {
       server.getServiceState match {
         case ServiceState.STOPPED =>
           debug("Received ApplicationEnd Message form Spark after the engine 
has stopped")
         case state =>
           info(s"Received ApplicationEnd Message from Spark at $state, 
stopping")
           server.stop()
       }
     }
   ```
   


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