You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Lisheng Sun (Jira)" <ji...@apache.org> on 2019/09/08 04:01:00 UTC

[jira] [Created] (HADOOP-16553) ipc.client.connect.max.retries.on.timeouts default value is too many

Lisheng Sun created HADOOP-16553:
------------------------------------

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


Current ipc connection retry default times is 45 when socket timeout.  Socket timeout default is 20s.
So if network packet loss on received machine,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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org