ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [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
Date Tue, 29 Sep 2015 02:08:04 GMT

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

Hudson commented on AMBARI-13233:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3556 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3556/])
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 (Di Li via alejandro) (afernandez: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2b3401640473c0b0988f52dff5683820107d3ecc)
* ambari-agent/src/main/python/ambari_agent/PingPortListener.py


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

Mime
View raw message