You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/04/24 22:25:00 UTC

[jira] [Assigned] (HADOOP-18694) Client.Connection#updateAddress needs to ensure that address is resolved before updating

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

Ayush Saxena reassigned HADOOP-18694:
-------------------------------------

    Assignee: dzcxzl

> 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
>            Assignee: 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org