[ 
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)

Reply via email to