deniskuzZ commented on code in PR #6024: URL: https://github.com/apache/hive/pull/6024#discussion_r2285708747
########## llap-client/src/java/org/apache/hadoop/hive/registry/impl/ZkRegistryBase.java: ########## @@ -187,7 +188,8 @@ public ZkRegistryBase(String instanceName, Configuration conf, String rootNs, St public static String getRootNamespace(Configuration conf, String userProvidedNamespace, String defaultNamespacePrefix) { - final boolean isSecure = ZookeeperUtils.isKerberosEnabled(conf); + final boolean isSecure = UserGroupInformation.isSecurityEnabled() && Review Comment: why not keep this logic in util class instead copy? -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org