yuqi1129 commented on code in PR #4315:
URL: https://github.com/apache/gravitino/pull/4315#discussion_r1699375011


##########
catalogs/catalog-hive/src/main/java/org/apache/gravitino/catalog/hive/HiveCatalogOperations.java:
##########
@@ -235,7 +234,6 @@ private void initKerberosIfNecessary(Map<String, String> 
conf, Configuration had
 
         LOG.info("krb5 path: {}", 
System.getProperty("java.security.krb5.conf"));
         refreshKerberosConfig();
-        KerberosName.resetDefaultRealm();

Review Comment:
   ` KerberosName.resetDefaultRealm();` has no real effect in the current 
context, we can freely remove it.  



-- 
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]

Reply via email to