bharatviswa504 commented on a change in pull request #94: HDDS-2255. Improve 
Acl Handler Messages
URL: https://github.com/apache/hadoop-ozone/pull/94#discussion_r339823677
 
 

 ##########
 File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/bucket/AddAclBucketHandler.java
 ##########
 @@ -88,10 +88,15 @@ public Void call() throws Exception {
             OzoneObj.StoreType.valueOf(storeType))
         .build();
 
-    boolean result = client.getObjectStore().addAcl(obj,
+    boolean aclExisted = client.getObjectStore().checkAclExist(obj,
 
 Review comment:
   I think we don't need a checkAclExist
   
   addAcl semantic true, acl is added successfully, false means acl already 
exist that is why we cannot add it. So, no need of checkAclExist()

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to