jojochuang commented on code in PR #10828:
URL: https://github.com/apache/ozone/pull/10828#discussion_r3626268833
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyDataStreamOutput.java:
##########
@@ -207,6 +208,12 @@ private void handleWrite(ByteBuffer b, int off, long len,
boolean retry)
}
len -= writtenLength;
off += writtenLength;
+ } catch (StreamNotSupportedException e) {
Review Comment:
Looks like StreamNotSupportedException would be caught by handleException()
instead, it would be caught here after several retry attempts. That would be
fine functionally but delays connection in this case.
--
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]