You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "liuyang (JIRA)" <ji...@apache.org> on 2012/12/17 07:34:16 UTC

[jira] [Commented] (HADOOP-9149) During RPC, client will call the setupConnection() in the Client.java. We want that the connection time out can be configured int the core-site.xml

    [ https://issues.apache.org/jira/browse/HADOOP-9149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533677#comment-13533677 ] 

liuyang commented on HADOOP-9149:
---------------------------------

In Client.java, the process is as follow:

          // connection time out is 20s
          NetUtils.connect(this.socket, server, 20000);
          if (rpcTimeout > 0) {
            pingInterval = rpcTimeout;  // rpcTimeout overwrites pingInterval
          }
          this.socket.setSoTimeout(pingInterval);
          return;


                
> During RPC, client will call the setupConnection() in the Client.java. We want that the connection time out can be configured int the core-site.xml
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9149
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9149
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 2.0.1-alpha
>            Reporter: liuyang
>            Priority: Minor
>
> When optimize the hadoop cluster, we want the connection time out can be configured in the core-site.xml. 
> In different scale hadoop cluster, client will take different connection time out during create connection to remote machine! 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira