cxzl25 commented on code in PR #6420:
URL: https://github.com/apache/kyuubi/pull/6420#discussion_r1613158334
##########
kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/auth/KerberosAuthenticationManager.java:
##########
@@ -29,10 +30,16 @@ public class KerberosAuthenticationManager {
new ConcurrentHashMap<>();
public static CachingKerberosAuthentication getTgtCacheAuthentication(String
ticketCache) {
+ final String finalTicketCache;
+ if (StringUtils.isBlank(ticketCache)) {
+ finalTicketCache = System.getenv("KRB5CCNAME");
Review Comment:
Even if we do this, the value may still be null. cc @lsm1
--
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]