Details
-
Task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.