You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Matthias Veit (JIRA)" <ji...@apache.org> on 2015/09/25 09:09:04 UTC

[jira] [Commented] (MESOS-2376) Allow libprocess ip and port to be configured

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

Matthias Veit commented on MESOS-2376:
--------------------------------------

[~timchen] So how can we control this value without using the env vars? In Marathon we are setting the FrameworkInfo.hostName, since this is the hostName resolved by the system or given by the user from the command line and would be the best option to use. But it looks like this value does not impact LIBPROCESS_IP.

> Allow libprocess ip and port to be configured
> ---------------------------------------------
>
>                 Key: MESOS-2376
>                 URL: https://issues.apache.org/jira/browse/MESOS-2376
>             Project: Mesos
>          Issue Type: Improvement
>          Components: java api
>            Reporter: Dario Rexin
>            Priority: Minor
>
> Currently if we want to configure the ip libprocess uses for communication, we have to set the env var LIBPROCESS_IP, or LIBPROCESS_PORT for the port. For the Java API this means, that the variable has to be set before the JVM is started, because setting env vars from within JAVA is not possible / non-trivial. Therefore it would be great to be able to pass them in to the constructor.



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