You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Venkatraman P (JIRA)" <ji...@apache.org> on 2016/03/08 18:06:40 UTC

[jira] [Created] (AMBARI-15337) Improve process checks / verification while using pid's

Venkatraman P created AMBARI-15337:
--------------------------------------

             Summary: Improve process checks / verification while using pid's
                 Key: AMBARI-15337
                 URL: https://issues.apache.org/jira/browse/AMBARI-15337
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-server
         Environment: NA
            Reporter: Venkatraman P


Today the service checks depends on the /var/run/component/component.pid file. Many a times, there are stale pid's which are causing services startups to fail from Ambari.
Especially during Ambari upgrade when such a failure happens, it becomes difficult to restart the services.

We need to improve the way we handle the pid files are completely move out to a different method. 

Whent he pid and the process started aren't matching - that needs to be reported by Ambari and may be it should remove the stale pid files.



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