sunxiaojian commented on code in PR #7734:
URL: https://github.com/apache/seatunnel/pull/7734#discussion_r1773556091


##########
seatunnel-connectors-v2/connector-iceberg/src/main/java/org/apache/seatunnel/connectors/seatunnel/iceberg/IcebergCatalogLoader.java:
##########
@@ -170,11 +169,10 @@ public static void doKerberosAuthentication(
                         "Start Kerberos authentication using principal {} and 
keytab {}",
                         principal,
                         keytabPath);
-                sun.security.krb5.Config.refresh();

Review Comment:
   > Is this logic invalid?
   
   @hailin0   when using loginUserFromKeytabAndReturnUGI, 
refreshKrb5Config=true will be added by default. So I think there is no need to 
call refresh  



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