ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hill (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12915) Make agent hostname configurable
Date Fri, 11 Sep 2015 16:26:46 GMT

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

Greg Hill commented on AMBARI-12915:
------------------------------------

We use openjdk 1.7.  The previous version was only maybe 2 months old, I didn't write down
the exact point release. We have a valid SSL cert already on the server, so it was just a
Java problem.

> Make agent hostname configurable
> --------------------------------
>
>                 Key: AMBARI-12915
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12915
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-agent
>    Affects Versions: 2.1.0
>            Reporter: Greg Hill
>            Assignee: Greg Hill
>            Priority: Minor
>         Attachments: AMBARI-12915.patch
>
>
> Currently the agent can either get the hostname from the local system, or you can inject
a script to tell it what hostname to use using the 'hostname_script' config value.  I would
like to add a 'hostname' config value to the agent section of the agent config so we can just
tell the agent what hostname to use.
> The scenario this comes up in is that our Ambari setup uses a local DNS domain for internal
traffic, but the Ambari API has a public FQDN that we use for the API.  It would be much cleaner
for us to just specify the hostname in the config rather than jumping through hoops to generate
a script to use to derive it.
> https://github.com/apache/ambari/blob/087d9003ecf6af33890e4f48743d7237a30d6438/ambari-agent/src/main/python/ambari_agent/hostname.py#L40



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message