You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2021/03/29 15:25:00 UTC
[jira] [Created] (HDDS-5041) OFSPath#getTrashRoot and
BROCAI#getTrashRoots should use getShortUserName instead of getUserName
Siyao Meng created HDDS-5041:
--------------------------------
Summary: OFSPath#getTrashRoot and BROCAI#getTrashRoots should use getShortUserName instead of getUserName
Key: HDDS-5041
URL: https://issues.apache.org/jira/browse/HDDS-5041
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Client
Reporter: Siyao Meng
Assignee: Siyao Meng
Inspired by HDDS-5019, we should use getShortUserName() instead of getUserName() as Kerberos principal can differ on different nodes while we trust admin will map those Kerberos principal to the same short user names.
https://github.com/apache/ozone/blob/4128813ab495dfd3941c0252e61e41ca7d1cf1ce/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OFSPath.java#L301
https://github.com/apache/ozone/blob/8585fba44a6ffe22fa2c65cc651acec6b6872e5e/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl.java#L581
cc [~xyao]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org