You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Nauroth (Jira)" <ji...@apache.org> on 2025/01/29 18:17:00 UTC

[jira] [Created] (HADOOP-19408) RPC clients cannot tolerate hostname changes from DNS resolution.

Chris Nauroth created HADOOP-19408:
--------------------------------------

             Summary: RPC clients cannot tolerate hostname changes from DNS resolution.
                 Key: HADOOP-19408
                 URL: https://issues.apache.org/jira/browse/HADOOP-19408
             Project: Hadoop Common
          Issue Type: Bug
          Components: ipc
    Affects Versions: 3.3.5, 3.4.0
            Reporter: Chris Nauroth


HADOOP-15129 changed RPC connections so that if a client is initialized before the server boots, it can re-resolve DNS to discover the updated address and complete a successful connection. HADOOP-18365 addressed a remaining problem with an old IP address remaining in the {{ConnectionId}} after the retry. Unfortunately, this has also reintroduced the problem that HADOOP-15129 tried to address, because it disallows hostname changes:

{{
      if (!Objects.equals(this.address.getHostName(), address.getHostName())) {
        throw new IllegalArgumentException("Hostname must match: " + this.address + " vs "
            + address);
      }
}}




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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org