yaooqinn commented on a change in pull request #857:
URL: https://github.com/apache/incubator-kyuubi/pull/857#discussion_r677924252
##########
File path:
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/session/SparkSQLSessionManager.scala
##########
@@ -69,6 +75,18 @@ class SparkSQLSessionManager private (name: String, spark:
SparkSession)
setSession(handle, sessionImpl)
info(s"$user's session with $handle is opened, current opening sessions"
+
s" $getOpenSessionCount")
+
+ if (singleSparkSessionInitialized.compareAndSet(false, true)
Review comment:
I think it's ok, as the main purpose of init sqls is always to bring up
some external stuff alive or visible
--
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]