You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2016/06/23 14:04:28 UTC

[1/2] ambari git commit: AMBARI-17404. RU/EU Install packages fails on non-root (aonishuk)

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 <ao...@hortonworks.com>
Authored: Thu Jun 23 17:04:17 2016 +0300
Committer: Andrew Onishuk <ao...@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)
 


[2/2] ambari git commit: AMBARI-17404. RU/EU Install packages fails on non-root (aonishuk)

Posted by ao...@apache.org.
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/c2ee81ef
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c2ee81ef
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c2ee81ef

Branch: refs/heads/branch-2.4
Commit: c2ee81efcd3e50731a617ded09e5b82db328d6ca
Parents: efe18c2
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Thu Jun 23 17:04:19 2016 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Thu Jun 23 17:04:19 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/c2ee81ef/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)