ChenSammi commented on code in PR #5445:
URL: https://github.com/apache/ozone/pull/5445#discussion_r1387478068


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java:
##########
@@ -732,12 +735,14 @@ public OpenKeySession openKey(OmKeyArgs args) throws 
IOException {
 
   private OMResponse handleError(OMResponse resp) throws OMException {
     if (resp.getStatus() != OK) {
+      LOG.error("OMException occurred: {}", resp.getMessage());

Review Comment:
   I would suggest remove this log, for every failure should be specifically 
handled and logged by where it's called in client. 



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