kerneltime commented on code in PR #5524:
URL: https://github.com/apache/ozone/pull/5524#discussion_r1379348105


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java:
##########
@@ -353,7 +357,14 @@ public Response put(
       throw ex;
     } finally {
       if (output != null) {
-        output.close();
+        try {
+          output.close();
+        } catch (IllegalStateException ex) {
+          LOG.error(String.format(

Review Comment:
   This can occur due to client behavior and we should not be logging at level 
`error` a client with a bad connection could fill up the S3G logs.



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