You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Evelina Dumitrescu (JIRA)" <ji...@apache.org> on 2014/09/30 04:20:33 UTC
[jira] [Comment Edited] (MESOS-1506) Update documentation/flags
regarding new default hostname semantics
[ https://issues.apache.org/jira/browse/MESOS-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152388#comment-14152388 ]
Evelina Dumitrescu edited comment on MESOS-1506 at 9/30/14 2:19 AM:
--------------------------------------------------------------------
I think that there might be an inconsistency in getHostname.
The comments(If the hostname cannot be resolved, then a string version of the IP address is returned) are not compliant with the behavior of the method.
was (Author: evelinad):
I think that there might be an inconsistency in getHostname.
If the hostname cannot be resolved, then a string version of the IP address should be returned.
Instead, if getnameinfo fails, an error string corresponding to the error code is returned by gai_strerror.
> Update documentation/flags regarding new default hostname semantics
> -------------------------------------------------------------------
>
> Key: MESOS-1506
> URL: https://issues.apache.org/jira/browse/MESOS-1506
> Project: Mesos
> Issue Type: Documentation
> Components: documentation
> Affects Versions: 0.18.0, 0.19.0, 0.20.0
> Reporter: Vinod Kone
> Assignee: Evelina Dumitrescu
>
> https://issues.apache.org/jira/browse/MESOS-672 was committed in 0.18.0 which fixed redirection of WebUI. Included in this fix is https://reviews.apache.org/r/17573/ which changed how the SlaveInfo.hostname is calculated when "--hostname" is not provided. Specifically, slave now deduces the hostname from "--ip" flag when "--hostname" is not provided.
> We should update the slave/master flags and documentation (http://mesos.apache.org/documentation/latest/configuration/) reflecting this change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)