[ https://issues.apache.org/jira/browse/MESOS-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328840#comment-14328840 ]
Michael Roth commented on MESOS-2376: ------------------------------------- I think Dario is referring to the MesosSchedulerDriver constructor. Wouldn't it be possible to enhance the FrameworkInfo message type like Master/SlaveInfo containing host and port parameters but as optional to be backward compatible? > 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)