You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "John Yang (JIRA)" <ji...@apache.org> on 2015/01/23 08:13:35 UTC

[jira] [Created] (REEF-106) Make parameters used in MesosScheduler configurable using TANG

John Yang created REEF-106:
------------------------------

             Summary: Make parameters used in MesosScheduler configurable using TANG
                 Key: REEF-106
                 URL: https://issues.apache.org/jira/browse/REEF-106
             Project: REEF
          Issue Type: Task
          Components: REEF-Runtime-Mesos
            Reporter: John Yang
            Priority: Minor


First, MESOS_SLAVE_PORT is statically set to 5051 to be used in constructing nodeDescriptorProtos upon resourceOffers(). It would be good to make it configurable as clusters can have different settings. 

Even so, a cluster may have Mesos slaves that use different ports. Unlike YARN, we cannot ask Mesos Master for the ports of Mesos slaves and an offer in resourceOffers() contains only the slave's hostname, excluding its port number. But as it is not a common case, I think we can postpone discussing it.

Second, the Mesos framework user name is statically defined as ""(an empty string) which indicates using the framework submitter's user name. Making it configurable via Tang should also be a straightforward task.



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