Naresh-kumar-Thodupunoori commented on code in PR #4426:
URL: https://github.com/apache/gravitino/pull/4426#discussion_r1709314260


##########
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:
   Made the changes accordingly please review 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