[ 
https://issues.apache.org/jira/browse/HDDS-14177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Andika updated HDDS-14177:
-------------------------------
    Component/s: Ozone Filesystem

> OFS#getTrashRoot should use the internal 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to