-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-4917.[FSO]Implement ACL requests for new layout #2024
Conversation
...e-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/acl/OMKeyAddAclRequestV1.java
Outdated
Show resolved
Hide resolved
...anager/src/main/java/org/apache/hadoop/ozone/om/request/key/acl/OMKeyRemoveAclRequestV1.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, +1. Thanks for addressing the comments.
Let's wait for others to have a double check for this PR before the merge, : ).
...zone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/acl/OMKeyAclRequestV1.java
Show resolved
Hide resolved
+1 patch looks good to me. Thanks @sadanand48 for the contribution. Thanks a lot @linyiqun for the reviews. |
@xiaoyuyao this patch is expecting prefixes and the key should exist in DB. Otw, it will throw Key_Not_Found exception. IIRC, we have discussed this case of non-existent path and not required to handle this case. Could you please add your thoughts. Thanks! IMHO, I am open to discuss this point and if we need to support then it can be handled separately in a new jira. I'm merging this PR now. |
What changes were proposed in this pull request?
Implement ACL api's like getAcl, addAcl, setAcl ,removeAcl in the new layout V1.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4917
How was this patch tested?
Added Unit test