dzcxzl created HADOOP-18694: ------------------------------- Summary: 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.3.5, 3.4.0 Reporter: dzcxzl
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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org