JyotinderSingh commented on code in PR #3508:
URL: https://github.com/apache/ozone/pull/3508#discussion_r909239237


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java:
##########
@@ -487,7 +487,13 @@ private OMRequest associateBucketIdWithRequest(OMRequest 
omRequest)
       return omRequest;
     }
 
-    long bucketId = metadataManager.getBucketId(volumeName, bucketName);
+    long bucketId;
+    try {
+      bucketId = metadataManager.getBucketId(volumeName, bucketName);
+    } catch (OMException oe) {
+      // Ignore exceptions at this stage, let respective classes handle them.
+      return omRequest;
+    }

Review Comment:
   Hi @rakeshadr, could you please take a look at this added logic inside the 
new method?



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