You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2017/05/10 16:23:04 UTC
[jira] [Commented] (MESOS-7495) Initialize libprocess using
getNonLoopbackIP.
[ https://issues.apache.org/jira/browse/MESOS-7495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004941#comment-16004941 ]
James Peach commented on MESOS-7495:
------------------------------------
The benefit is that this reduces the dependency on DNS, but the drawback is that we might make a bad choice of address (assuming that the address in DNS is more likely to be globally available).
Filing this for discussion with [~bmahler].
> Initialize libprocess using getNonLoopbackIP.
> ---------------------------------------------
>
> Key: MESOS-7495
> URL: https://issues.apache.org/jira/browse/MESOS-7495
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: James Peach
>
> Rather than depending resolving the hostname in {{process::initialize()}}, we could hoist {{mesos::tests::internal::getNonLoopbackIP()}} up into {{libprocess}} and use that (or equivalent code) to find an address that meets our requirements.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)