harris233 commented on PR #5807:
URL: https://github.com/apache/hadoop/pull/5807#issuecomment-1622950948

   > I didn't quite understand how the problem occurred. 
`closeCurrentBlockReaders()` will be called whether `blockSeekTo()` or 
`DFSInputStream#close()` is called. Would you mind adding a UT to reproduce 
this problem?
   
   In normal case, it's right. closeCurrentBlockReaders() will be called 
whether blockSeekTo() or DFSInputStream#close() is called. 
   But if got Interrupt Exception, it has no chance to close it when 
constructing reader(Presto or other application).
   I find ec block readers will not be closed if got Interrupt Exception and 
only throw exception. 
   I guess it may want application(presto) to close it. 
   However, reader is not constructed in application(presto) and cannot close 
it.
   
   Exception Stack:
   <img width="1435" alt="wecom-temp-c31ed87c360be0ba2a1f1f7b64eab9a5" 
src="https://github.com/apache/hadoop/assets/48636225/6b9ea83d-efc5-48fe-a32f-8d4b6e64b9df";>
   
   


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