You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/10/22 08:10:13 UTC

[GitHub] [ozone] jojochuang commented on a change in pull request #2761: HDDS-5888. Handle InterruptedException in OzoneClientProducer and ContainerBalancer

jojochuang commented on a change in pull request #2761:
URL: https://github.com/apache/ozone/pull/2761#discussion_r734326206



##########
File path: hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/OzoneClientProducer.java
##########
@@ -137,6 +137,11 @@ private OzoneClient getClient(OzoneConfiguration config)
         LOG.debug("Error during Client Creation: ", ex);
       }
       throw wrapOS3Exception(ex);
+    } catch(InterruptedException ex){
+      if (LOG.isDebugEnabled()) {

Review comment:
       we can simplify the logging since it's slf4j. Not need to check isDebugEnabled()




-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org