Eron Wright created FLINK-5974:
-----------------------------------
Summary: Support Mesos DNS
Key: FLINK-5974
URL: https://issues.apache.org/jira/browse/FLINK-5974
Project: Flink
Issue Type: Improvement
Components: Cluster Management, Mesos
Reporter: Eron Wright
Assignee: Eron Wright
In certain Mesos/DCOS environments, the slave hostnames aren't resolvable. For
this and other reasons, Mesos DNS names would ideally be used for communication
within the Flink cluster, not the hostname discovered via
`InetAddress.getLocalHost`.
Some parts of Flink are already configurable in this respect, notably
`jobmanager.rpc.address`. However, the Mesos AppMaster doesn't use that
setting for non-JM addresses (e.g. artifact server), it uses the hostname.
Similarly, the `taskmanager.hostname` setting isn't used in Mesos deployment
mode. To effectively use Mesos DNS, the TM should use
`<task-name>.<framework-name>.mesos` as its hostname. This could be derived
from an interpolate configuration string.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)