ayushtkn commented on code in PR #10872:
URL: https://github.com/apache/ozone/pull/10872#discussion_r3651955975


##########
hadoop-ozone/multitenancy-ranger/src/main/java/org/apache/hadoop/ozone/om/multitenant/RangerClientMultiTenantAccessController.java:
##########
@@ -248,11 +289,22 @@ public void deletePolicy(String policyName) throws 
IOException {
     try {
       client.deletePolicy(rangerServiceName, policyName);
     } catch (RangerServiceException e) {
+      // Fix 4: if the policy does not exist, silently return.

Review Comment:
   this fix-4 or fix-3 doesn't make sense to me, once this is merged or some 
other code changes in future, I don't think we can maintain these number 1,2,3,4



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