You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/10/30 09:38:27 UTC

[jira] [Commented] (AMBARI-12915) Make agent hostname configurable

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

Hadoop QA commented on AMBARI-12915:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12753520/AMBARI-12915.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/4104//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4104//console

This message is automatically generated.

> 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)