You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Di Li (JIRA)" <ji...@apache.org> on 2015/09/24 20:52:04 UTC
[jira] [Created] (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 created AMBARI-13233:
------------------------------
Summary: 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
Priority: Minor
Fix For: trunk
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)