This is an automated email from the ASF dual-hosted git repository.
aonishuk pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new f26d984 AMBARI-24477. ambair-agent floods data directory with files
created for status commands (aonishuk)
f26d984 is described below
commit f26d9840e3f62e56de7e0787d664c22ba251b8a9
Author: Andrew Onishuk <[email protected]>
AuthorDate: Tue Aug 14 18:36:47 2018 +0300
AMBARI-24477. ambair-agent floods data directory with files created for
status commands (aonishuk)
---
ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py | 1 +
1 file changed, 1 insertion(+)
diff --git
a/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
b/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
index 41f18e5..8f40b99 100644
--- a/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
+++ b/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
@@ -535,6 +535,7 @@ class CustomServiceOrchestrator(object):
try:
os.unlink(status_commands_stdout)
os.unlink(status_commands_stderr)
+ os.unlink(status_structured_out)
except OSError:
pass # Ignore failure