You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/04/15 19:15:59 UTC

[jira] [Commented] (REEF-246) On machines with multiple IP addresses, Need a better solution when choosing which ip address to listen on

    [ https://issues.apache.org/jira/browse/REEF-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496540#comment-14496540 ] 

Markus Weimer commented on REEF-246:
------------------------------------

This does not only affect Wake, but also our registration with the YARN resource manager. We might send the wrong URL to it, preventing our Driver from being reached via the RM forwarding.

Regarding solutions, I think making an injectable interface that provides the IP address to bind to is prudent. We can then have a default implementation that does the same thing that Hadoop does while also allowing users to override this behavior.

> On machines with multiple IP addresses, Need a better solution when choosing which ip address to listen on
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: REEF-246
>                 URL: https://issues.apache.org/jira/browse/REEF-246
>             Project: REEF
>          Issue Type: Bug
>          Components: Wake
>    Affects Versions: 0.11
>            Reporter: Beysim Sezgin
>             Fix For: 0.11
>
>
> On machines with multiple IP addresses, there is no way to configure which IP address should be favored. We currently enumerate all the addresses available and avoid 127.x.x.x. This is not sufficient. 
> Possible solutions: 
> 1. Make IP selection code injectable.
> 2. Since most clusters are already configured to make MapReduce run, use their method (Inet4Address.getLocalHost().getHostAddress()) to choose an IP address.
> 3. ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)