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 2015/04/10 11:36:15 UTC
ambari git commit: AMBARI-10403. Ambari should not add 'oozie' to
users group (aonishuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 860d0094a -> ae2e9cf98
AMBARI-10403. Ambari should not add 'oozie' to users group (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ae2e9cf9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ae2e9cf9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ae2e9cf9
Branch: refs/heads/trunk
Commit: ae2e9cf98d2c7ce44cfbeffa79dc7df031ce3956
Parents: 860d009
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Fri Apr 10 12:36:08 2015 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Fri Apr 10 12:36:08 2015 +0300
----------------------------------------------------------------------
.../resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py | 2 --
.../test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/ae2e9cf9/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
index 83ffd64..5cc1358 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
@@ -173,8 +173,6 @@ if has_ganglia_server:
user_to_groups_dict[gmetad_user] = [gmetad_user]
if has_tez:
user_to_groups_dict[tez_user] = [proxyuser_group]
-if has_oozie_server:
- user_to_groups_dict[oozie_user] = [proxyuser_group]
user_to_gid_dict = collections.defaultdict(lambda:user_group)
http://git-wip-us.apache.org/repos/asf/ambari/blob/ae2e9cf9/ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py b/ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
index 6906a97..68a3271 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
@@ -53,7 +53,7 @@ class TestHookBeforeInstall(RMFTestCase):
self.assertResourceCalled('User', 'oozie',
gid = 'hadoop',
ignore_failures = False,
- groups = [u'users'],
+ groups = [u'hadoop'],
)
self.assertResourceCalled('User', 'nobody',
gid = 'hadoop',