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


   > > Of course, but need to accept client socket first?
   > 
   > No, this method must be called before accepting client sockets.
   > 
   > > if we set so timeout, then which value is suitable?
   > 
   > The default value is 60 seconds in Hadoop IPC client (ipc.ping.interval). 
Is it too long for Hadoop Pipes application?
   
   The value sounds reasonable. And I think we should set so timeout on client 
socket?  cause `ServerSocket#setSoTimeout(int)` just affect `accept` 
   
![image](https://user-images.githubusercontent.com/7459785/113832328-157b1b00-97bb-11eb-95b5-6eac9db40ef6.png)
   
   And we should do like this:
   
![image](https://user-images.githubusercontent.com/7459785/113831991-c208cd00-97ba-11eb-85d0-b3c7ec27b58b.png)
   


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