cxzl25 commented on code in PR #5130:
URL: https://github.com/apache/kyuubi/pull/5130#discussion_r1282659218
##########
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:
ZOOKEEPER-1467: Make server principal configurable at client side.
https://issues.apache.org/jira/browse/ZOOKEEPER-1467
Fix Version/s: 3.6.0, 3.5.7
--
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]