ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amag...@apache.org
Subject [06/51] [abbrv] ambari git commit: AMBARI-22635: Addendum fix Ambari should create a dummy core-site.xml for Ranger plugins when namenode is not installed.
Date Fri, 22 Dec 2017 09:09:51 GMT
AMBARI-22635: Addendum fix Ambari should create a dummy core-site.xml for Ranger plugins when
namenode is not installed.


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

Branch: refs/heads/branch-feature-AMBARI-22008-isilon
Commit: f1f730229fe559439189726c0cd40cd58cbf0135
Parents: d95d3eb
Author: Vishal Suvagia <vishalsuvagia@apache.org>
Authored: Fri Dec 15 11:20:31 2017 +0530
Committer: Vishal Suvagia <vishalsuvagia@apache.org>
Committed: Fri Dec 15 11:20:31 2017 +0530

----------------------------------------------------------------------
 .../KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f1f73022/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py
b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py
index e2cfbcf..16eff94 100644
--- a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py
+++ b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py
@@ -90,7 +90,7 @@ def setup_ranger_kafka():
       else:
         Logger.info("Stack supports core-site.xml creation for Ranger plugin and Namenode
is not installed, creating create core-site.xml from default configurations")
         setup_core_site_for_required_plugins(component_user = params.kafka_user, component_group
= params.user_group,
-                                             create_core_site_path = params.conf_dir, configurations
= { 'hadoop.security.authentication' : 'kerberos' if params.security_enabled else 'simple'
},
+                                             create_core_site_path = params.conf_dir, configurations
= { 'hadoop.security.authentication' : 'kerberos' if params.kerberos_security_enabled else
'simple' },
                                              configuration_attributes = {})
 
     else:


Mime
View raw message