You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Trevor McKay (JIRA)" <ji...@apache.org> on 2013/10/29 19:58:25 UTC

[jira] [Created] (AMBARI-3617) killstaleprocesses() in ambari_agent/shell.py does not read pid files correctly

Trevor McKay created AMBARI-3617:
------------------------------------

             Summary: killstaleprocesses() in ambari_agent/shell.py does not read pid files correctly
                 Key: AMBARI-3617
                 URL: https://issues.apache.org/jira/browse/AMBARI-3617
             Project: Ambari
          Issue Type: Bug
          Components: agent
    Affects Versions: 1.4.2
         Environment: RHEL6 agent
            Reporter: Trevor McKay
            Assignee: Trevor McKay


The killstaleprocesses() routine in shell.py expects pidfiles to have a pid value encoded in the name (ie the name is of the form PIDVALUE.pid).

However, ambari-agent writes the file "ambari-agent.pid".

killstaleprocesses() should either handle both forms for backward compatibility, or should only handle the new form.



--
This message was sent by Atlassian JIRA
(v6.1#6144)