ArafatKhan2198 commented on code in PR #3263:
URL: https://github.com/apache/ozone/pull/3263#discussion_r847275215


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/metrics/S3GatewayMetrics.java:
##########
@@ -44,7 +44,9 @@
 
   // BucketEndpoint
   private @Metric MutableCounterLong getBucketSuccess;
+

Review Comment:
   Will make the change, thanks !!



##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java:
##########
@@ -507,6 +514,10 @@ public Response putAcl(String bucketName, HttpHeaders 
httpHeaders,
       LOG.error("Error in set ACL Request for bucket: {}", bucketName,
           exception);
       throw exception;
+    } catch (OS3Exception ex) {
+      getMetrics().incPutAclFailure();
+      LOG.debug("Failed to put acl of Bucket " + bucketName, ex);

Review Comment:
   Will make the change, thanks !!



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