smengcl commented on code in PR #4188: URL: https://github.com/apache/ozone/pull/4188#discussion_r1559099986
########## hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl.java: ########## @@ -1004,7 +1004,7 @@ private FileStatusAdapter toFileStatusAdapter(OzoneFileStatus status, keyInfo.getModificationTime(), keyInfo.getModificationTime(), status.isDirectory() ? (short) 00777 : (short) 00666, - owner, + StringUtils.defaultIfEmpty(keyInfo.getOwnerName(), owner), owner, Review Comment: Same. `group` should also have the same treatment? ```suggestion StringUtils.defaultIfEmpty(keyInfo.getOwnerName(), owner), StringUtils.defaultIfEmpty(keyInfo.getOwnerName(), owner), ``` -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org