You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2013/12/20 17:30:43 UTC

git commit: AMBARI-4141. Pluggable services: random daemons occupy agent's port (dlysnichenko)

Updated Branches:
  refs/heads/trunk 52fa294fe -> 7ae7a7dec


AMBARI-4141. Pluggable services: random daemons occupy agent's port (dlysnichenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7ae7a7de
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7ae7a7de
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7ae7a7de

Branch: refs/heads/trunk
Commit: 7ae7a7deccd6367c2d55954cff50ed1b68406cbe
Parents: 52fa294
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Fri Dec 20 18:19:58 2013 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Fri Dec 20 18:30:29 2013 +0200

----------------------------------------------------------------------
 ambari-agent/src/main/python/ambari_agent/PythonExecutor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7ae7a7de/ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/PythonExecutor.py b/ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
index c33930d..8e3a87a 100644
--- a/ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
+++ b/ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
@@ -111,7 +111,7 @@ class PythonExecutor:
     """
     return subprocess.Popen(command,
       stdout=tmpout,
-      stderr=tmperr)
+      stderr=tmperr, close_fds=True)
 
   def isSuccessfull(self, returncode):
     return not self.python_process_has_been_killed and returncode == 0