ivandika3 opened a new pull request, #9502: URL: https://github.com/apache/ozone/pull/9502
## What changes were proposed in this pull request? 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. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14177 ## How was this patch tested? Integration test. Clean run: https://github.com/ivandika3/ozone/actions/runs/20224410422 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
