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-9891) Ambari-agent stop on Ubuntu fails
Date Tue, 03 Mar 2015 14:23:04 GMT

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

Hudson commented on AMBARI-9891:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1931 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1931/])
AMBARI-9891. Ambari-agent stop on Ubuntu fails (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b432db1c783388a191f290c55b8170c009f7dbf6)
* ambari-common/src/main/python/ambari_commons/shell.py


> Ambari-agent stop on Ubuntu fails
> ---------------------------------
>
>                 Key: AMBARI-9891
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9891
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python2.7
>     Found ambari-agent PID: 6635
>     Stopping ambari-agent
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 276, in <module>
>         main(heartbeat_stop_callback)
>       File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 220, in main
>         stop_agent()
>       File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 168, in stop_agent
>         raise Exception("Error while performing agent stop. " + res['error'] + res['output'])
>     Exception: Error while performing agent stop. /var/lib/ambari-agent/ambari-sudo.sh:
18: /var/lib/ambari-agent/ambari-sudo.sh: [[: not found
>     /var/lib/ambari-agent/ambari-sudo.sh: 28: /var/lib/ambari-agent/ambari-sudo.sh: Syntax
error: "(" unexpected (expecting "fi")
>     
>     Removing PID file at /var/run/ambari-agent/ambari-agent.pid
>     ambari-agent successfully stopped
>     



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

Mime
View raw message