ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-9891) Ambari-agent stop on Ubuntu fails
Date Tue, 03 Mar 2015 13:09:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-9891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk resolved AMBARI-9891.
-------------------------------------
    Resolution: Fixed

Committed to trunk and branch-2.0.0

> 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