spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Assigned] (SPARK-15395) Use getHostString to create RpcAddress
Date Thu, 19 May 2016 00:30:13 GMT


Apache Spark reassigned SPARK-15395:

    Assignee: Apache Spark  (was: Shixiong Zhu)

> Use getHostString to create RpcAddress
> --------------------------------------
>                 Key: SPARK-15395
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.6.0, 1.6.1, 2.0.0
>            Reporter: Shixiong Zhu
>            Assignee: Apache Spark
> Right now the netty RPC uses `InetSocketAddress.getHostName` to create `RpcAddress` for
network events. If we use an IP address to connect, then the RpcAddress's host will be a host
name (if the reverse lookup successes) instead of the IP address. However, some places need
to compare the original IP address and the RpcAddress in `onDisconnect` (e.g., CoarseGrainedExecutorBackend),
and this behavior will make the check incorrect.
> The correct way is using `getHostString`.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message