justinmclean commented on code in PR #4426:
URL: https://github.com/apache/gravitino/pull/4426#discussion_r1708657447
##########
catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/authentication/kerberos/KerberosClient.java:
##########
@@ -67,7 +67,8 @@ public String login(String keytabFilePath) throws IOException
{
UserGroupInformation.setConfiguration(hadoopConf);
UserGroupInformation kerberosLoginUgi =
UserGroupInformation.loginUserFromKeytabAndReturnUGI(catalogPrincipal,
keytabFilePath);
- UserGroupInformation.setLoginUser(kerberosLoginUgi);
+ // Replace setLoginUser with an alternative approach
Review Comment:
There no real need for this comment in the code, this would be better placed
as a version control comment when making the change.
--
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]