incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor McKay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3617) killstaleprocesses() in ambari_agent/shell.py does not read pid files correctly
Date Tue, 29 Oct 2013 21:41:26 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808492#comment-13808492
] 

Trevor McKay commented on AMBARI-3617:
--------------------------------------

see also https://issues.apache.org/jira/browse/AMBARI-3615

Not sure exactly what is intended for killallprocesses, or if there are multiple overlapping
issues.

> 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)

Mime
View raw message