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

Trevor McKay commented on AMBARI-3615:
--------------------------------------

fyi, see also https://issues.apache.org/jira/browse/AMBARI-3617

For what it's worth, when I played with this and fixed up killstaleprocesses() 
to read ambari-agent.pid I also had to move "daemonize()" after 
killstaleprocesses in ambari-agent/src/main/python/ambari_agent/main.py

> Ambari agent creates empty folder /var/ambari-agent
> ---------------------------------------------------
>
>                 Key: AMBARI-3615
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3615
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.1
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 1.4.2
>
>         Attachments: AMBARI-3615_branch_1.4.2.patch, AMBARI-3615.patch
>
>
> Ambari agent creates an empty directory /var/ambari-agent during installation.
> This directory isn't needed, /var/run/ambari-agent is used instead.



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

Reply via email to