Ivan Andika created HDDS-14177:
----------------------------------

             Summary: 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: Task
            Reporter: Ivan Andika
            Assignee: Ivan Andika


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