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

2019-09-19 Thread Lisheng Sun (Jira)


 [ 
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.002.patch

> 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 = 2; // 20s
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



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

2019-09-15 Thread Lisheng Sun (Jira)


 [ 
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 = 2; // 20s
> {code}



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



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

2019-09-07 Thread Lisheng Sun (Jira)


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

Lisheng Sun updated HADOOP-16553:
-
Description: 
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 = 2; // 20s
{code}

  was:
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 = 2; // 20s
{code}


> 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
>
> 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 = 2; // 20s
> {code}



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org