z-bb opened a new pull request, #4730:
URL: https://github.com/apache/ozone/pull/4730

   ## What changes were proposed in this pull request?
   
   Fix OMKeyRenameRequest rename key failed infomation
   
   When I tested, I found the following problems
   
   ```
   2023-05-18 11:59:52,725 [IPC Server handler 63 on 9862] WARN 
org.apache.hadoop.ozone.om.OzoneManager: User test doesn't have DELETE 
permission to access key Volume:vol-rm-test Bucket:blk-rm-test Key:dirS/
   2023-05-18 11:59:52,725 [IPC Server handler 63 on 9862] ERROR 
org.apache.hadoop.ozone.om.request.key.OMKeyRenameRequest: Rename key failed 
for volume:vol-rm-test bucket:blk-rm-test fromKey:dirS/ 
toKey:.Trash/test/Current/vol-rm-test/blk-rm-test/dirS1684382392673/. Key: 
dirS/ not found.
   ```
   
   This error is not because the key does not found,but user doesn't have 
DELETE permission.
   So I think exception information should be added.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/projects/HDDS/issues/HDDS-8644
   


-- 
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]

Reply via email to