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-8333) Ambari-agent restart fails on Ubuntu.
Date Sun, 16 Nov 2014 21:20:34 GMT

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

Hudson commented on AMBARI-8333:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #957 (See [https://builds.apache.org/job/Ambari-trunk-Commit/957/])
Revert "AMBARI-8333. Ambari-agent restart fails on Ubuntu. (aonishuk)" (mahadev: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c8f8045e0c18af0b1872912354c1bc56673aa82c)
* ambari-agent/src/main/python/ambari_agent/main.py
* ambari-agent/src/test/python/ambari_agent/TestMain.py


> Ambari-agent restart fails on Ubuntu.
> -------------------------------------
>
>                 Key: AMBARI-8333
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8333
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> STR:  
> 1\. Start ambari-agent  
> 2\. Make sure it's registered with ambari-server.  
> 3\. Execute ambari-agent restart
>     
>     
>     root@u1201:~# ambari-agent restart
>     Restarting ambari-agent
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python2.7
>     Found ambari-agent PID: 8240
>     Stopping ambari-agent
>     Removing PID file at /var/run/ambari-agent/ambari-agent.pid
>     ambari-agent successfully stopped
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python2.7
>     Checking for previously running Ambari Agent...
>     Starting ambari-agent
>     Verifying ambari-agent process status...
>     ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out:
>     ====================
>     Failed to start ping port listener of: Could not open port 8670 because port already
used by another process:
>     UID        PID  PPID  C STIME TTY          TIME CMD
>     root      9186  8274  0 11:24 pts/0    00:00:00 apt-cache showpkg iso-codes
>     ====================
>     Agent out at: /var/log/ambari-agent/ambari-agent.out
>     Agent log at: /var/log/ambari-agent/ambari-agent.log
>     
> The reason for this, is that we don't kill child processes, when killing
> ambari-agent, during restart.



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

Mime
View raw message