[
https://issues.apache.org/jira/browse/HDDS-14177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-14177:
-------------------------------
Summary: OFS#getTrashRoot should use the internal FS username instead of
current UGI (was: OFS#getTrashRoot should use the internal username instead of
current UGI)
> OFS#getTrashRoot should use the internal FS username instead of current UGI
> ---------------------------------------------------------------------------
>
> Key: HDDS-14177
> URL: https://issues.apache.org/jira/browse/HDDS-14177
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Filesystem
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Minor
>
> BasicRootedOzoneFileSystem#getTrashRoot calls OFSPath#getTrashRoot which
> internally use UserGroupInformation#getCurrentUser. Therefore, even if
> FileSystem was initialized under impersonated user (e.g. proxy user), the
> trash root still uses the current UserGroupInformation#getCurrentUser.
> We need fix getTrashRoot so that it uses the internal
> BasicRootedOzoneFileSystem.userName instead.
> Note that BasicOzoneFileSystem#getTrashRoot (o3fs) already uses the internal
> userName.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]