pan3793 commented on issue #4194: URL: https://github.com/apache/kyuubi/issues/4194#issuecomment-1398217596
Hi @Swarvenstein, I notice the engine log contains the following message ``` SparkTBinaryFrontendService: Received request of closing SessionHandle [0d8be737-c71d-4870-954b-831835390f09] ... SparkSQLSessionManager: SessionHandle [0d8be737-c71d-4870-954b-831835390f09] is closed, current opening sessions 0 ... SparkSQLSessionManager: Session stopped due to shared level is Connection. ``` It indicates that you are using the CONNECTION engine share level, which means every connection(session) will create a new spark application, and once the connection(session) is closed, the engine will self-terminate immediately to save resources. If you want to share the engine(spark application) across sessions(connections), please set `kyuubi.engine.share.level` to another options like 'USER' Ref: https://kyuubi.readthedocs.io/en/master/deployment/engine_share_level.html -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org