deniskuzZ commented on code in PR #6024:
URL: https://github.com/apache/hive/pull/6024#discussion_r2285725620
##########
service/src/java/org/apache/hive/service/server/KillQueryZookeeperManager.java:
##########
@@ -101,11 +98,11 @@ public synchronized void start() {
throw new ServiceException("Failed start zookeeperClient in
KillQueryZookeeperManager");
}
try {
- ZookeeperUtils.setupZookeeperAuth(this.getHiveConf(),
SASL_LOGIN_CONTEXT_NAME, zkPrincipal, zkKeytab);
zooKeeperClient.start();
try {
zooKeeperClient.create().creatingParentsIfNeeded().withMode(CreateMode.PERSISTENT).forPath("/"
+ zkNameSpace);
- if (ZookeeperUtils.isKerberosEnabled(conf)) {
+ if (UserGroupInformation.isSecurityEnabled() &&
Review Comment:
could be reused from util
--
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]