ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20787) Ambari agent should log how it determines it's FQDN
Date Thu, 20 Apr 2017 12:32:04 GMT

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

Hadoop QA commented on AMBARI-20787:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12864214/AMBARI-20787.v1.patch
  against trunk revision .

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

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

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

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

This message is automatically generated.

> Ambari agent should log how it determines it's FQDN
> ---------------------------------------------------
>
>                 Key: AMBARI-20787
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20787
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-agent
>    Affects Versions: 2.4.0
>            Reporter: Sebastian Toader
>            Assignee: Sebastian Toader
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-20787.v1.patch
>
>
> Ambari agent determines its FQDN that will use for registering with Ambari Server as
follows:
> # invokes the script specified by {{hostname_script}} in ambari-agent.ini and uses the
output of this script as host name to register with.
> # if the script mentioned above returned with a non-zero error code (or threw an exception)
than falls back to  [socket.getfqdn|https://docs.python.org/2/library/socket.html#socket.getfqdn]
python api call.
> # if {{hostname_script}} is not set in  ambari-agent.ini than it uses [socket.getfqdn|https://docs.python.org/2/library/socket.html#socket.getfqdn]
python api call.
> Currently the agent doesn't log anything about how it obtained its FQDN which makes troubleshooting
difficult in case it registers with Ambari Server using unexpected/wrong FQDN.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message