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

ASF GitHub Bot commented on FLINK-5974:
---------------------------------------

Github user EronWright commented on the issue:

    https://github.com/apache/flink/pull/3692
  
    @StephanEwen in this case, the 
[MesosTaskManagerParameters](https://github.com/vijikarthi/flink/blob/aeb432dc7fe8bcdd5faa49b8ad5dfb5630ea0747/flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/MesosTaskManagerParameters.java#L39)
 is acting as the configuration class and the various `ConfigOption`'s are 
defined within.  Placing constants also into `ConfigConstants` is now 
unnecessary and discouraged, and I feel that's the (minor) issue here.


> 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: Vijay Srinivasaraghavan
>
> 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 everything (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 interpolated configuration string.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to