You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/06/21 12:07:56 UTC

[GitHub] [hadoop] mukund-thakur commented on pull request #3109: HADOOP-17764. S3AInputStream read does not re-open the input stream on the second read retry attempt

mukund-thakur commented on pull request #3109:
URL: https://github.com/apache/hadoop/pull/3109#issuecomment-864980696


   Really a corner case scenario. Nice catch. 
   Reviewed the code. It looks good. 
   From what I understand, we are trying to catch the SocketTimeoutException during second read as well and re-opening and throwing the exception. 
   
   Though I was wondering, can the same be achieved by always re-opening the stream and throwing exception such that invoker does the retry. 


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

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



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