-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51456/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-18267
https://issues.apache.org/jira/browse/AMBARI-18267
Repository: ambari
Description
-------
When server is stopped, "ambari-server status" always reports about Stale PID
File (there is no stale pid file)
[root@c6401 ~]# ambari-server stop
Using python /usr/bin/python
Stopping ambari-server
Ambari Server stopped
[root@c6401 ~]# ll /var/run/ambari-server/ambari-server.pid
ls: cannot access /var/run/ambari-server/ambari-server.pid: No such file or
directory
[root@c6401 ~]# ambari-server status
Using python /usr/bin/python
Ambari-server status
Ambari Server not running. Stale PID File at:
/var/run/ambari-server/ambari-server.pid
Looks like it's very old behavior.
Diffs
-----
ambari-server/src/main/python/ambari-server.py f929042
Diff: https://reviews.apache.org/r/51456/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk