You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jl...@apache.org on 2015/05/28 09:26:19 UTC
ambari git commit: AMBARI-11426 Property enhancements and other fixes
for Ranger (Gautam Borad via jluniya)
Repository: ambari
Updated Branches:
refs/heads/trunk 46444b148 -> 8211d82c1
AMBARI-11426 Property enhancements and other fixes for Ranger (Gautam Borad via jluniya)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8211d82c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8211d82c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8211d82c
Branch: refs/heads/trunk
Commit: 8211d82c1152ff6e35cc2273ad763c3aecee40d3
Parents: 46444b1
Author: Jayush Luniya <jl...@hortonworks.com>
Authored: Thu May 28 00:26:10 2015 -0700
Committer: Jayush Luniya <jl...@hortonworks.com>
Committed: Thu May 28 00:26:10 2015 -0700
----------------------------------------------------------------------
.../libraries/functions/ranger_functions.py | 2 +-
.../libraries/functions/ranger_functions_v2.py | 2 +-
.../HBASE/0.96.0.2.0/metainfo.xml | 3 ++
.../common-services/HDFS/2.1.0.2.0/metainfo.xml | 3 ++
.../HIVE/0.12.0.2.0/metainfo.xml | 3 ++
.../ranger-knox-plugin-properties.xml | 2 +-
.../common-services/KNOX/0.5.0.2.2/metainfo.xml | 3 ++
.../0.4.0/configuration/usersync-properties.xml | 2 +-
.../0.4.0/package/scripts/setup_ranger_xml.py | 5 ++
.../STORM/0.9.1.2.1/metainfo.xml | 3 ++
.../common-services/YARN/2.1.0.2.0/metainfo.xml | 4 ++
.../ranger-hbase-plugin-properties.xml | 2 +-
.../ranger-hdfs-plugin-properties.xml | 2 +-
.../ranger-hive-plugin-properties.xml | 2 +-
.../ranger-storm-plugin-properties.xml | 2 +-
.../HBASE/configuration/ranger-hbase-audit.xml | 2 +-
.../HDFS/configuration/ranger-hdfs-audit.xml | 2 +-
.../HIVE/configuration/ranger-hive-audit.xml | 2 +-
.../KNOX/configuration/ranger-knox-audit.xml | 2 +-
.../KNOX/configuration/ranger-knox-security.xml | 2 +-
.../RANGER/configuration/ranger-ugsync-site.xml | 2 +-
.../STORM/configuration/ranger-storm-audit.xml | 2 +-
.../YARN/configuration/ranger-yarn-audit.xml | 2 +-
.../ranger-yarn-plugin-properties.xml | 2 +-
ambari-web/app/data/HDP2.2/site_properties.js | 54 ++++++++++++++++++++
ambari-web/app/data/HDP2.3/site_properties.js | 18 +++++++
26 files changed, 113 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py b/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
index 63e5df1..eab01ad 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
@@ -258,7 +258,7 @@ class Rangeradmin:
def create_ambari_admin_user(self,ambari_admin_username, ambari_admin_password,usernamepassword):
try:
- url = self.urlUsers + '?startIndex=0'
+ url = self.urlUsers + '?name=' + str(ambari_admin_username)
request = urllib2.Request(url)
base64string = base64.encodestring(usernamepassword).replace('\n', '')
request.add_header("Content-Type", "application/json")
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py b/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py
index da05773..b6be4c2 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py
@@ -178,7 +178,7 @@ class RangeradminV2:
:return: Returns user credentials if user exist otherwise rerutns credentials of created user.
"""
try:
- url = self.url_users + '?startIndex=0'
+ url = self.url_users + '?name=' + str(ambari_admin_username)
request = urllib2.Request(url)
base_64_string = base64.encodestring(usernamepassword).replace('\n', '')
request.add_header("Content-Type", "application/json")
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml
index e0d8ba2..60b9b14 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml
@@ -143,6 +143,9 @@
<config-type>hbase-env</config-type>
<config-type>hbase-log4j</config-type>
<config-type>ranger-hbase-plugin-properties</config-type>
+ <config-type>ranger-hbase-audit</config-type>
+ <config-type>ranger-hbase-policymgr-ssl</config-type>
+ <config-type>ranger-hbase-security</config-type>
</configuration-dependencies>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml
index e5f0114..f1dd195 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml
@@ -237,6 +237,9 @@
<config-type>ranger-hdfs-plugin-properties</config-type>
<config-type>ssl-client</config-type>
<config-type>ssl-server</config-type>
+ <config-type>ranger-hdfs-audit</config-type>
+ <config-type>ranger-hdfs-policymgr-ssl</config-type>
+ <config-type>ranger-hdfs-security</config-type>
</configuration-dependencies>
<restartRequiredAfterRackChange>true</restartRequiredAfterRackChange>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml
index e12935d..947f1cf 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml
@@ -295,6 +295,9 @@
<config-type>webhcat-site</config-type>
<config-type>webhcat-env</config-type>
<config-type>ranger-hive-plugin-properties</config-type>
+ <config-type>ranger-hive-audit</config-type>
+ <config-type>ranger-hive-policymgr-ssl</config-type>
+ <config-type>ranger-hive-security</config-type>
</configuration-dependencies>
</service>
</services>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml b/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml
index 9f58e92..8bf1dd3 100644
--- a/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml
+++ b/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml
@@ -28,7 +28,7 @@
<property>
<name>common.name.for.certificate</name>
- <value>-</value>
+ <value></value>
<description>Used for repository creation on ranger admin</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml b/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml
index 5d49298..6a61ef6 100644
--- a/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml
@@ -83,6 +83,9 @@
<config-type>gateway-log4j</config-type>
<config-type>topology</config-type>
<config-type>ranger-knox-plugin-properties</config-type>
+ <config-type>ranger-knox-audit</config-type>
+ <config-type>ranger-knox-policymgr-ssl</config-type>
+ <config-type>ranger-knox-security</config-type>
</configuration-dependencies>
</service>
</services>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
index 9f5aa6c..9834b8a 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
@@ -77,7 +77,7 @@
</property>
<property>
<name>SYNC_LDAP_USER_SEARCH_FILTER</name>
- <value>-</value>
+ <value></value>
<description>default value is empty</description>
</property>
<property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
index d8dc390..df85da8 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
@@ -135,6 +135,11 @@ def do_keystore_setup():
Execute(cred_setup, environment={'RANGER_ADMIN_HOME':params.ranger_home, 'JAVA_HOME': params.java_home}, logoutput=True)
+ File(params.ranger_credential_provider_path,
+ owner = params.unix_user,
+ group = params.unix_group
+ )
+
if not is_empty(params.ranger_credential_provider_path) and (params.ranger_audit_source_type).lower() == 'db' and not is_empty(params.ranger_ambari_audit_db_password):
jceks_path = params.ranger_credential_provider_path
cred_setup = format('{cred_setup_prefix} -f {jceks_path} -k "{ranger_jpa_audit_jdbc_credential_alias}" -v "{ranger_ambari_audit_db_password}" -c 1')
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml
index bb14a27..01ae032 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml
@@ -126,6 +126,9 @@
<config-type>storm-site</config-type>
<config-type>storm-env</config-type>
<config-type>ranger-storm-plugin-properties</config-type>
+ <config-type>ranger-storm-audit</config-type>
+ <config-type>ranger-storm-policymgr-ssl</config-type>
+ <config-type>ranger-storm-security</config-type>
</configuration-dependencies>
</service>
</services>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml
index 8b8d2f7..ca82d46 100644
--- a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml
+++ b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml
@@ -244,6 +244,10 @@
<config-type>mapred-env</config-type>
<config-type>ssl-client</config-type>
<config-type>ssl-server</config-type>
+ <config-type>ranger-yarn-plugin-properties</config-type>
+ <config-type>ranger-yarn-audit</config-type>
+ <config-type>ranger-yarn-policymgr-ssl</config-type>
+ <config-type>ranger-yarn-security</config-type>
</configuration-dependencies>
<restartRequiredAfterRackChange>true</restartRequiredAfterRackChange>
<widgetsFileName>MAPREDUCE2_widgets.json</widgetsFileName>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
index 89faba4..30af22c 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
@@ -22,7 +22,7 @@
<property>
<name>common.name.for.certificate</name>
- <value>-</value>
+ <value></value>
<description>Used for repository creation on ranger admin</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
index 6115ef7..ddd90e3 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
@@ -28,7 +28,7 @@
<property>
<name>common.name.for.certificate</name>
- <value>-</value>
+ <value></value>
<description>Used for repository creation on ranger admin
</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml
index 4ea10b5..e82a5e1 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml
@@ -34,7 +34,7 @@
<property>
<name>common.name.for.certificate</name>
- <value>-</value>
+ <value></value>
<description>Used for repository creation on ranger admin</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml
index 767976e..e0c47db 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml
@@ -28,7 +28,7 @@
<property>
<name>common.name.for.certificate</name>
- <value>-</value>
+ <value></value>
<description>Used for repository creation on ranger admin</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml
index bd438df..b7f80b9 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml
@@ -82,7 +82,7 @@
<property>
<name>xasecure.audit.destination.solr</name>
- <value>true</value>
+ <value>false</value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml
index 22974e5..a2b6362 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml
@@ -82,7 +82,7 @@
<property>
<name>xasecure.audit.destination.solr</name>
- <value>true</value>
+ <value>false</value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml
index 3fca5a6..057978f 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml
@@ -82,7 +82,7 @@
<property>
<name>xasecure.audit.destination.solr</name>
- <value>true</value>
+ <value>false</value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml
index a375980..d20a68b 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml
@@ -82,7 +82,7 @@
<property>
<name>xasecure.audit.destination.solr</name>
- <value>true</value>
+ <value>false</value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml
index 9ed8941..5bfb259 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml
@@ -28,7 +28,7 @@
<property>
<name>ranger.plugin.knox.policy.source.impl</name>
- <value>org.apache.ranger.admin.client.RangerAdminRESTClient</value>
+ <value>org.apache.ranger.admin.client.RangerAdminJersey2RESTClient</value>
<description>Class to retrieve policies from the source</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
index 020c2b1..acd77a1 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
@@ -148,7 +148,7 @@
<property>
<name>ranger.usersync.ldap.bindkeystore</name>
- <value>-</value>
+ <value></value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml
index cdcae2b..ad08922 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml
@@ -82,7 +82,7 @@
<property>
<name>xasecure.audit.destination.solr</name>
- <value>true</value>
+ <value>false</value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml
index 53f475c..776b000 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml
@@ -82,7 +82,7 @@
<property>
<name>xasecure.audit.destination.solr</name>
- <value>true</value>
+ <value>false</value>
<description></description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml
index 74e7742..3f14655 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml
@@ -34,7 +34,7 @@
<property>
<name>common.name.for.certificate</name>
- <value>-</value>
+ <value></value>
<description>Used for repository creation on ranger admin</description>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-web/app/data/HDP2.2/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2.2/site_properties.js b/ambari-web/app/data/HDP2.2/site_properties.js
index f97f547..09d9283 100644
--- a/ambari-web/app/data/HDP2.2/site_properties.js
+++ b/ambari-web/app/data/HDP2.2/site_properties.js
@@ -778,6 +778,60 @@ hdp22properties.push(
},
{
"id": "site property",
+ "name": "common.name.for.certificate",
+ "displayName": "common.name.for.certificate",
+ "category": "Advanced ranger-hdfs-plugin-properties",
+ "isRequired": false,
+ "serviceName": "HDFS",
+ "filename": "ranger-hdfs-plugin-properties.xml"
+ },
+ {
+ "id": "site property",
+ "name": "common.name.for.certificate",
+ "displayName": "common.name.for.certificate",
+ "category": "Advanced ranger-hive-plugin-properties",
+ "isRequired": false,
+ "serviceName": "HIVE",
+ "filename": "ranger-hive-plugin-properties.xml"
+ },
+ {
+ "id": "site property",
+ "name": "common.name.for.certificate",
+ "displayName": "common.name.for.certificate",
+ "category": "Advanced ranger-hbase-plugin-properties",
+ "isRequired": false,
+ "serviceName": "HBASE",
+ "filename": "ranger-hbase-plugin-properties.xml"
+ },
+ {
+ "id": "site property",
+ "name": "common.name.for.certificate",
+ "displayName": "common.name.for.certificate",
+ "category": "Advanced ranger-knox-plugin-properties",
+ "isRequired": false,
+ "serviceName": "KNOX",
+ "filename": "ranger-knox-plugin-properties.xml"
+ },
+ {
+ "id": "site property",
+ "name": "common.name.for.certificate",
+ "displayName": "common.name.for.certificate",
+ "category": "Advanced ranger-storm-plugin-properties",
+ "isRequired": false,
+ "serviceName": "STORM",
+ "filename": "ranger-storm-plugin-properties.xml"
+ },
+ {
+ "id": "site property",
+ "name": "SYNC_LDAP_USER_SEARCH_FILTER",
+ "displayName": "SYNC_LDAP_USER_SEARCH_FILTER",
+ "category": "Advanced usersync-properties",
+ "isRequired": false,
+ "serviceName": "RANGER",
+ "filename": "usersync-properties.xml"
+ },
+ {
+ "id": "site property",
"name": "hbase.bucketcache.ioengine",
"displayName": "hbase.bucketcache.ioengine",
"isRequired": false,
http://git-wip-us.apache.org/repos/asf/ambari/blob/8211d82c/ambari-web/app/data/HDP2.3/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2.3/site_properties.js b/ambari-web/app/data/HDP2.3/site_properties.js
index e9734a3..3527e17 100644
--- a/ambari-web/app/data/HDP2.3/site_properties.js
+++ b/ambari-web/app/data/HDP2.3/site_properties.js
@@ -780,6 +780,24 @@ hdp23properties.push({
"filename": "ranger-admin-site.xml",
"category": "ADSettings"
},
+ {
+ "id": "site property",
+ "name": "ranger.usersync.ldap.bindkeystore",
+ "displayName": "ranger.usersync.ldap.bindkeystore",
+ "category": "Advanced ranger-ugsync-site",
+ "isRequired": false,
+ "serviceName": "RANGER",
+ "filename": "ranger-ugsync-site.xml"
+ },
+ {
+ "id": "site property",
+ "name": "common.name.for.certificate",
+ "displayName": "common.name.for.certificate",
+ "category": "Advanced ranger-yarn-plugin-properties",
+ "isRequired": false,
+ "serviceName": "YARN",
+ "filename": "ranger-yarn-plugin-properties.xml"
+ },
/*********RANGER FOR HBASE************/
{