lichaojacobs commented on pull request #2775:
URL: https://github.com/apache/hadoop/pull/2775#issuecomment-814661823


   > Can `ServerSocket#setSoTimeout(int)` be used instead of modifying the 
kernel parameter?
   
   Of course, but need to accept client socket first? In my cleaner implement, 
it will close socket correctly, and thus accept queue will also be cleared. 
   And there is another problem,  if we set so timeout, then which value is 
suitable? If too short, data stream may block due to gc or other reasons which 
will cause task failed.


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