[ 
https://issues.apache.org/jira/browse/AMBARI-14876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-14876:
-------------------------------------
    Attachment: AMBARI-14876.patch

> Ambari Agent Creating 100,000 Empty Status Command Files
> --------------------------------------------------------
>
>                 Key: AMBARI-14876
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14876
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14876.patch
>
>
> Agents seems to be creating 1000's of status command files when there should
> only be 1. Doing an `ls` on the following directory takes 10 seconds. Here's a
> snippet:
>     
>     
>     
>     [root@c6402 ~]# ll /var/lib/ambari-agent/data/
>     ...
>     -rw-r--r-- 1 root root        0 Jan 31 13:50 
> status_command_stdout.txt.99404
>     -rw-r--r-- 1 root root        0 Jan 31 13:50 
> status_command_stdout.txt.99405
>     -rw-r--r-- 1 root root        0 Jan 31 13:50 
> status_command_stdout.txt.99406
>     -rw-r--r-- 1 root root        0 Jan 31 13:50 
> status_command_stdout.txt.99407
>     -rw-r--r-- 1 root root        0 Jan 31 13:50 
> status_command_stdout.txt.99408
>     -rw-r--r-- 1 root root        0 Jan 31 13:50 
> status_command_stdout.txt.99409
>     ...
>     [root@c6402 ~]# find /var/lib/ambari-agent/data -name "status_command*" | 
> wc -l
>     230582
>     



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

Reply via email to