ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 31679: Ambari-agent stop on Ubuntu fails
Date Tue, 03 Mar 2015 13:06:01 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31679/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-9891
    https://issues.apache.org/jira/browse/AMBARI-9891


Repository: ambari


Description
-------

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


Diffs
-----

  ambari-common/src/main/python/ambari_commons/shell.py 70f4af9 

Diff: https://reviews.apache.org/r/31679/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message