[jira] [Updated] (HADOOP-15683) Client.setupConnection should not block Client.stop() calls

2018-08-17 Thread Lukas Majercak (JIRA)


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

Lukas Majercak updated HADOOP-15683:

Resolution: Duplicate
Status: Resolved  (was: Patch Available)

> Client.setupConnection should not block Client.stop() calls
> ---
>
> Key: HADOOP-15683
> URL: https://issues.apache.org/jira/browse/HADOOP-15683
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common, ipc
>Reporter: Lukas Majercak
>Assignee: Lukas Majercak
>Priority: Critical
> Attachments: HADOOP-15683.000.patch
>
>
> If the IPC Client is still setting up connections when Client.stop() is 
> called, the stop() call will not succeed until setupConnection finishes 
> (successfully or with failure). 
> This can cause very long delay (maxFailures * timeout can be more than 
> 10minutes depending on configuration) in stopping the client. 
> Client.stop() is for example used in NN switch from Standby to Active, and 
> can therefore have very bad consequences and cause downtime.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (HADOOP-15683) Client.setupConnection should not block Client.stop() calls

2018-08-16 Thread Lukas Majercak (JIRA)


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

Lukas Majercak updated HADOOP-15683:

Description: 
If the IPC Client is still setting up connections when Client.stop() is called, 
the stop() call will not succeed until setupConnection finishes (successfully 
or with failure). 

This can cause very long delay (maxFailures * timeout can be more than 
10minutes depending on configuration) in stopping the client. 
Client.stop() is for example used in NN switch from Standby to Active, and can 
therefore have very bad consequences and cause downtime.

> Client.setupConnection should not block Client.stop() calls
> ---
>
> Key: HADOOP-15683
> URL: https://issues.apache.org/jira/browse/HADOOP-15683
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common, ipc
>Reporter: Lukas Majercak
>Assignee: Lukas Majercak
>Priority: Critical
> Attachments: HADOOP-15683.000.patch
>
>
> If the IPC Client is still setting up connections when Client.stop() is 
> called, the stop() call will not succeed until setupConnection finishes 
> (successfully or with failure). 
> This can cause very long delay (maxFailures * timeout can be more than 
> 10minutes depending on configuration) in stopping the client. 
> Client.stop() is for example used in NN switch from Standby to Active, and 
> can therefore have very bad consequences and cause downtime.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (HADOOP-15683) Client.setupConnection should not block Client.stop() calls

2018-08-16 Thread Lukas Majercak (JIRA)


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

Lukas Majercak updated HADOOP-15683:

Attachment: HADOOP-15683.000.patch

> Client.setupConnection should not block Client.stop() calls
> ---
>
> Key: HADOOP-15683
> URL: https://issues.apache.org/jira/browse/HADOOP-15683
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common, ipc
>Reporter: Lukas Majercak
>Assignee: Lukas Majercak
>Priority: Critical
> Attachments: HADOOP-15683.000.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (HADOOP-15683) Client.setupConnection should not block Client.stop() calls

2018-08-16 Thread Lukas Majercak (JIRA)


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

Lukas Majercak updated HADOOP-15683:

Status: Patch Available  (was: In Progress)

> Client.setupConnection should not block Client.stop() calls
> ---
>
> Key: HADOOP-15683
> URL: https://issues.apache.org/jira/browse/HADOOP-15683
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common, ipc
>Reporter: Lukas Majercak
>Assignee: Lukas Majercak
>Priority: Critical
> Attachments: HADOOP-15683.000.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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