duongkame commented on code in PR #2466:
URL: https://github.com/apache/ozone/pull/2466#discussion_r1186288946


##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/volume/ListVolumeHandler.java:
##########
@@ -72,7 +72,7 @@ protected void execute(OzoneClient client, OzoneAddress 
address)
       throws IOException {
 
     if (userName == null) {
-      userName = UserGroupInformation.getCurrentUser().getUserName();
+      userName = UserGroupInformation.getCurrentUser().getShortUserName();

Review Comment:
   This would require the client to upgrade to the new code. That's why we 
decided to make the fix server-side. @ChenSammi 



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

Reply via email to