You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2016/03/04 10:37:40 UTC
[jira] [Closed] (FLINK-3570) Replace random NIC selection heuristic
by InetAddress.getLocalHost
[ https://issues.apache.org/jira/browse/FLINK-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ufuk Celebi closed FLINK-3570.
------------------------------
Resolution: Fixed
Fix Version/s: 1.0.1
1.1.0
Fixed in b289311 (release-1.0)
Fixed in 7b2f540 (master).
> Replace random NIC selection heuristic by InetAddress.getLocalHost
> ------------------------------------------------------------------
>
> Key: FLINK-3570
> URL: https://issues.apache.org/jira/browse/FLINK-3570
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Runtime
> Affects Versions: 1.0.0, 1.1.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Minor
> Fix For: 1.1.0, 1.0.1
>
>
> Currently, the {{ConnectionUtils.findAddressUsingStrategy}} method returns the first {{NetworkInterface}} whose address is not a loop back address, not a link local address and an {{Inet4Address}}. Before returning this address, it is retried to connect to the {{JobManager}} using the {{InetAddress.getLocalHost}} address a last time.
> The heuristic, if not choosing the {{InetAddress.getLocalHost}}, often makes no sense because it returns a random {{NetworkInterface}} address. It would be better to simply return the {{InetAddress.getLocalHost()}} instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)