xiaoyuyao commented on a change in pull request #920: HDDS-1545. Cli to
add,remove,get and delete acls for Ozone objects. Contributed by Ajay Kumar.
URL: https://github.com/apache/hadoop/pull/920#discussion_r291379507
##########
File path:
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java
##########
@@ -1377,7 +1377,7 @@ public boolean setAcl(OzoneObj obj, List<OzoneAcl> acls)
throws IOException {
SetAclRequest.Builder builder = SetAclRequest.newBuilder()
.setObj(OzoneObj.toProtobuf(obj));
- acls.parallelStream().forEach(a -> builder.addAcl(OzoneAcl.toProtobuf(a)));
Review comment:
Let's fix this as a separate JIRA along with the unit test change.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]