You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by mu...@apache.org on 2017/10/03 05:30:54 UTC

ambari git commit: AMBARI-22102 Ranger KMS should add proxy user for Spark2 user (mugdha)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 504ea2aa8 -> 1ef5b391f


AMBARI-22102 Ranger KMS should add proxy user for Spark2 user (mugdha)


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

Branch: refs/heads/branch-2.6
Commit: 1ef5b391f529c5dd58556f55211e3735f1e9ace5
Parents: 504ea2a
Author: Mugdha Varadkar <mu...@apache.org>
Authored: Tue Oct 3 10:50:53 2017 +0530
Committer: Mugdha Varadkar <mu...@apache.org>
Committed: Tue Oct 3 11:00:01 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.5/services/stack_advisor.py   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1ef5b391/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
index be615db..3af05b5 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
@@ -2004,7 +2004,8 @@ yarn.scheduler.capacity.root.{0}.maximum-am-resource-percent=1""".format(llap_qu
     super(HDP25StackAdvisor, self).recommendRangerKMSConfigurations(configurations, clusterData, services, hosts)
 
     security_enabled = self.isSecurityEnabled(services)
-    required_services = [{'service' : 'RANGER', 'config-type': 'ranger-env', 'property-name': 'ranger_user', 'proxy-category': ['hosts', 'users', 'groups']}]
+    required_services = [{'service' : 'RANGER', 'config-type': 'ranger-env', 'property-name': 'ranger_user', 'proxy-category': ['hosts', 'users', 'groups']},
+    {'service' : 'SPARK2', 'config-type': 'livy2-env', 'property-name': 'livy2_user', 'proxy-category': ['hosts', 'users', 'groups']}]
 
     if security_enabled:
       # recommendations for kms proxy related properties