pan3793 commented on code in PR #5130:
URL: https://github.com/apache/kyuubi/pull/5130#discussion_r1282683756


##########
kyuubi-ha/src/main/scala/org/apache/kyuubi/ha/client/zookeeper/ZookeeperClientProvider.scala:
##########
@@ -108,7 +108,10 @@ object ZookeeperClientProvider extends Logging {
           throw new IOException(s"${HA_ZK_AUTH_KEYTAB.key}: $keytab does not 
exists")
         }
         System.setProperty("zookeeper.sasl.clientconfig", 
"KyuubiZooKeeperClient")
-        val serverPrincipal = KyuubiHadoopUtils.getServerPrincipal(principal)
+        conf.get(HA_ZK_AUTH_SERVER_PRINCIPAL).foreach { zkServerPrincipal =>
+          System.setProperty("zookeeper.server.principal", zkServerPrincipal)

Review Comment:
   Since #4852, it's allowed to use Zookeeper 3.6 client by enabling profile 
`-Pzookeeper-3.6` on the packaging, let me enrich the configuration docs to 
mention the requirements.



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