kerneltime commented on code in PR #4254:
URL: https://github.com/apache/ozone/pull/4254#discussion_r1100564927
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -2592,8 +2592,13 @@ public List<OmVolumeArgs> listVolumeByUser(String
userName, String prefix,
metrics.incNumVolumeLists();
if (isAclEnabled) {
String remoteUserName = remoteUserUgi.getShortUserName();
+ // Convert userName to short username
+ final UserGroupInformation ugiUserParam =
Review Comment:
This should fix the problem for now, but we need to revisit this code and
our usage of UGI and how we compare identities.
--
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]