[
https://issues.apache.org/jira/browse/HADOOP-16553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16934563#comment-16934563
]
Íñigo Goiri commented on HADOOP-16553:
--------------------------------------
I agree that 45 is a lot but I think people will have many questions on why not
10 or 3 or 5.
I think given this can be configured we should leave it as is.
You would need to change core-default.xml too BTW.
> 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, HADOOP-16553.002.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.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]