wForget commented on code in PR #6420:
URL: https://github.com/apache/kyuubi/pull/6420#discussion_r1613172616
##########
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:
Makes sense, how about giving a empty string by default?
--
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]