captainzmc opened a new pull request #868:
URL: https://github.com/apache/hadoop-ozone/pull/868


   ## What changes were proposed in this pull request?
   
       When we put file using O3FS, FileSystem will check if it exists first. 
If the key not exist, checkAccess will report KEY_NOT_FOUND Exception when get 
keyInfo. 
       Because the previous bucket permission check has passed, it’s currently 
reading a key that does not exist, so this should be allowed.
       So when KEY_NOT_FOUND appears, we confirm whether it is a read ACLType, 
and if it’s a read ACLType we return true. To avoid KEY_NOT_FOUND exception.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3457
   
   ## How was this patch tested?
   
   Enable acl and put file or mkdir using o3fs.
   


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

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