[ 
https://issues.apache.org/jira/browse/HADOOP-16553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lisheng Sun updated HADOOP-16553:
---------------------------------
    Attachment: HADOOP-16553.001.patch
        Status: Patch Available  (was: Open)

> ipc.client.connect.max.retries.on.timeouts default value is too many
> --------------------------------------------------------------------
>
>                 Key: HADOOP-16553
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16553
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Lisheng Sun
>            Assignee: Lisheng Sun
>            Priority: Major
>         Attachments: HADOOP-16553.001.patch
>
>
> Current ipc connection retry default times is 45 when socket timeout.  Socket 
> timeout default is 20s.
> So if network packet loss on received machine and don't reponse to 
> client,client  need wait at most 15 mins.
> I think ipc connection retry default times should decreate.
> {code:java}
> public static final String  
> IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY =
>   "ipc.client.connect.max.retries.on.timeouts";
> /** Default value for IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY */
> public static final int  
> IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_DEFAULT = 45;
> public static final String  IPC_CLIENT_CONNECT_TIMEOUT_KEY =
>   "ipc.client.connect.timeout";
> /** Default value for IPC_CLIENT_CONNECT_TIMEOUT_KEY */
> public static final int     IPC_CLIENT_CONNECT_TIMEOUT_DEFAULT = 20000; // 20s
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to