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/09/25 01:37:04 UTC

[jira] [Commented] (AMBARI-13233) Error message for ambari agent install failure when the ping port is taken by old agent process should state port and old process

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

Hadoop QA commented on AMBARI-13233:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12762214/AMBARI-13233.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 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/3852//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3852//console

This message is automatically generated.

> Error message for ambari agent install failure when the ping port is taken by old agent process should state port and old process
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13233
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13233
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.1.0
>            Reporter: Di Li
>            Assignee: Di Li
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: AMBARI-13233.patch
>
>
> When the Ambari Agent's ping port is taken by old/left over ambari agent process. the Ambari agent install fails during the cluster installation time. The error message simply says Address already in use. As shown below.
> "ERROR 2015-08-14 17:11:26,557 main.py:272 - Failed to start ping port listener of: [Errno 98] Address already in use"
> The error message could have been more specific on which port was used by which process. 
> In fact, the err msg is there in the ambari-agent/src/main/python/ambari_agent/PingPortListener.py already. It's just that it was never used due to the way the awk parses the pid.
> This JIRA is to attempt to fix the awk parse cmd so that the Ambari agent python script would throw the exception with a detailed error message.



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