yaooqinn commented on a change in pull request #1177:
URL: https://github.com/apache/incubator-kyuubi/pull/1177#discussion_r718117750



##########
File path: 
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionManager.scala
##########
@@ -48,14 +49,18 @@ class KyuubiSessionManager private (name: String) extends 
SessionManager(name) {
 
     val username = Option(user).filter(_.nonEmpty).getOrElse("anonymous")
 
+    val sessionConf = this.getConf.getUserDefaults(user)
+    if (!sessionConf.get(HA_ZK_ACL_ENGINE_ENABLED)) {

Review comment:
       It‘s a bit hacky, can we use HA_ZK_ACL_ENGINE_ENABLED at the caller side?




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