bowenliang123 commented on code in PR #6587:
URL: https://github.com/apache/kyuubi/pull/6587#discussion_r1726008273


##########
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionManager.scala:
##########
@@ -97,7 +98,8 @@ class KyuubiSessionManager private (name: String) extends 
SessionManager(name) {
       this,
       userConf,
       userConf.get(ENGINE_DO_AS_ENABLED),
-      parser)
+      parser,
+      tempFileService = kyuubiServer.tempFileService)

Review Comment:
   No. And all sessions share one TempFileService instance.
   Here the server's `KyuubiSessionManager` passes the one "global" 
TempFileService in KyuubiServer to init `KyuubiSessionImpl` in server module, 
just like the way in Line101 for shared parser crossing sessions in 
`KyuubiSessionManager`.



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


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

Reply via email to