incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1608) Public hostname should defer to hostname() when an override exists.
Date Mon, 11 Mar 2013 18:01:16 GMT

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

Nate Cole commented on AMBARI-1608:
-----------------------------------

No, it works as the document describes.  I think this is an instance that I discovered while
working with a local VM.  It would manifest itself in the field where the hostname as reported
by Python is not resolvable by the Ambari server and leads to dead links.
                
> Public hostname should defer to hostname() when an override exists.
> -------------------------------------------------------------------
>
>                 Key: AMBARI-1608
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1608
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>             Fix For: 1.3.0
>
>
> Consider the following scenario:
> * Custom hostname is created in accordance with AMBARI-1255
> * The custom hostname is not the same as returned with python {{socket.fqdn()}}
> * When calling the {{public_hostname()}} method, the public ec2 URL fails when NOT on
an ec2 cluster
> * The script then uses {{socket.fqdn()}} to return the public name.
> * Ambari uses the public name for publishing links etc, which do not resolve
> This ticket means to fix this issue by deferring to {{hostname()}} when the public hostname
cannot be determined.  {{hostname()}} already makes appropriate failure cases to return the
correct value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message