ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitriu...@apache.org
Subject ambari git commit: AMBARI-8333. Ambari-agent restart fails on Ubuntu. (dlysnichenko)
Date Mon, 17 Nov 2014 12:37:14 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 491dcfd71 -> 025892604


AMBARI-8333. Ambari-agent restart fails on Ubuntu. (dlysnichenko)


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

Branch: refs/heads/trunk
Commit: 025892604966bd68c9758da5da00b9ce6b53e71f
Parents: 491dcfd
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Mon Nov 17 14:36:21 2014 +0200
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Mon Nov 17 14:36:21 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/02589260/ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py b/ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py
index 062a1e7..e7dcc8b 100644
--- a/ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py
+++ b/ambari-agent/src/main/python/ambari_agent/PackagesAnalyzer.py
@@ -40,7 +40,7 @@ class PackagesAnalyzer:
 
   def launch_subprocess(self, command):
     isShell = not isinstance(command, (list, tuple))
-    return subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=isShell)
+    return subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=isShell,
close_fds=True)
 
   def watchdog_func(self, command):
     self.event.wait(self.TIMEOUT_SECONDS)


Mime
View raw message