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] [Resolved] (AMBARI-1608) Public hostname should defer to hostname() when an override exists.
Date Fri, 03 Jan 2014 15:50:58 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nate Cole resolved AMBARI-1608.
-------------------------------

    Resolution: Won't Fix

I don't think there's anyone using this functionality.  When it becomes an issue, it can be
addressed then.

> 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
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message