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

ASF GitHub Bot updated HADOOP-18694:
------------------------------------
    Labels: pull-request-available  (was: )

> Client.Connection#updateAddress needs to ensure that address is resolved 
> before updating
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-18694
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18694
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.4.0, 3.3.5
>            Reporter: dzcxzl
>            Priority: Major
>              Labels: pull-request-available
>
> When Client.Connection#setupConnection encounters an IOException, it will try 
> to update the server address. 
> ([HADOOP-18365|https://issues.apache.org/jira/browse/HADOOP-18365])
> When the address is re-parsed, it may be an unresolved address 
> (UnknownHostException), which causes Client.Connection#setupConnection to 
> fail to reconnect.
> {code:java}
> while (true) {
>   try {
>     if (server.isUnresolved()) { {code}
> Especially when DN is connected to NN, BPServiceActor#bpNamenode is only 
> initialized once, which causes DN to never connect to NN before restarting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to