This is an automated email from the ASF dual-hosted git repository.
aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new ca17890 AMBARI-24477. ambari-agent floods data directory with files
created for status commands (aonishuk)
ca17890 is described below
commit ca178909c01802893cffaa278f7e33796b4452cb
Author: Andrew Onishuk <[email protected]>
AuthorDate: Tue Aug 14 18:42:19 2018 +0300
AMBARI-24477. ambari-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 5826f47..ecdd4c5 100644
--- a/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
+++ b/ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
@@ -537,6 +537,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