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

Di Li commented on AMBARI-13233:
--------------------------------

existing unit test covers the code change already.

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

Reply via email to