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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to