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
commit 39aedf67d94931a077d067b28dc8bef25546fab0 Author: aonishuk <aonis...@hortonworks.com> AuthorDate: Wed Oct 10 15:33:56 2018 +0300 Update AmbariAgent.py --- ambari-agent/src/main/python/ambari_agent/AmbariAgent.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ambari-agent/src/main/python/ambari_agent/AmbariAgent.py b/ambari-agent/src/main/python/ambari_agent/AmbariAgent.py index d3cbd14..6f5a14e 100644 --- a/ambari-agent/src/main/python/ambari_agent/AmbariAgent.py +++ b/ambari-agent/src/main/python/ambari_agent/AmbariAgent.py @@ -51,8 +51,6 @@ def main(): mergedArgs = [PYTHON, AGENT_SCRIPT] + args while status == AGENT_AUTO_RESTART_EXIT_CODE: - with open("/tmp/x" , "w") as fp: - fp.write(str(mergedArgs)) mainProcess = subprocess32.Popen(mergedArgs) mainProcess.communicate() status = mainProcess.returncode