ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [1/2] ambari git commit: AMBARI-17404. RU/EU Install packages fails on non-root (aonishuk)
Date Thu, 23 Jun 2016 14:04:28 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 efe18c24f -> c2ee81efc
  refs/heads/trunk 5dab21270 -> bfc904b20


AMBARI-17404. RU/EU Install packages fails on non-root (aonishuk)


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

Branch: refs/heads/trunk
Commit: bfc904b204ea962392b2be19984a60661d0cd3a0
Parents: 5dab212
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Thu Jun 23 17:04:17 2016 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Jun 23 17:04:17 2016 +0300

----------------------------------------------------------------------
 .../resource_management/libraries/functions/packages_analyzer.py   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bfc904b2/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
b/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
index 9c6bc1f..7805907 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
@@ -306,7 +306,7 @@ def verifyDependencies():
   if check_str is None or cmd is None:
     raise Fail("Unsupported OSFamily on the Agent Host")
 
-  code, out = rmf_shell.checked_call(cmd)
+  code, out = rmf_shell.checked_call(cmd, sudo=True)
 
   output_regex = re.compile(check_str)
 


Mime
View raw message