programmerfromxian commented on PR #7551:
URL: https://github.com/apache/hadoop/pull/7551#issuecomment-2788047482

   > > Are you saying that Connection.close() is not called after interrupt?
   > 
   > If `Connection.close()` is not called, we need to fix the code to call it. 
It obviously will have resource leaking if `close()` is not called.
   
   @szetszwo Just my guest,since thread is blocking in method 
emptyCondition.wait, so emptyCondition.notify method is not be called, 
emptyCondition.notify method is only called in Connection.close method, we 
speculate it is due to thread inturrupt that the thread did not complete its 
normal execution and did not call the close method. This is just one 
possibility, we can analyze if there are any other reasons. Thanks for you.


-- 
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: common-issues-unsubscr...@hadoop.apache.org

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


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

Reply via email to