You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/02/02 15:06:39 UTC

[jira] [Created] (AMBARI-14876) Ambari Agent Creating 100,000 Empty Status Command Files

Andrew Onischuk created AMBARI-14876:
----------------------------------------

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