Repository: ambari Updated Branches: refs/heads/branch-2.0.0 17b28e662 -> 73a80ef15
AMBARI-10001. Missing property "Common Name for Certificate" in Advanced ranger-hbase-plugin-properties (Gautam Borad via alejandro) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/634af895 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/634af895 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/634af895 Branch: refs/heads/branch-2.0.0 Commit: 634af895c98d80c33f1bbc3a6e21859f8f4f7d48 Parents: 17b28e6 Author: Alejandro Fernandez <[email protected]> Authored: Tue Mar 10 14:09:20 2015 -0700 Committer: Alejandro Fernandez <[email protected]> Committed: Tue Mar 10 14:09:20 2015 -0700 ---------------------------------------------------------------------- .../common-services/HBASE/0.96.0.2.0/package/scripts/params.py | 1 + .../HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py | 1 + .../HBASE/configuration/ranger-hbase-plugin-properties.xml | 6 ++++++ 3 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/634af895/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params.py index ca8a48e..a094cc5 100644 --- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params.py +++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params.py @@ -209,6 +209,7 @@ ssl_keystore_password = default("/configurations/ranger-hbase-plugin-properties/ ssl_truststore_file = default("/configurations/ranger-hbase-plugin-properties/SSL_TRUSTSTORE_FILE_PATH", "/etc/hadoop/conf/ranger-plugin-truststore.jks") ssl_truststore_password = default("/configurations/ranger-hbase-plugin-properties/SSL_TRUSTSTORE_PASSWORD", "changeit") grant_revoke = default("/configurations/ranger-hbase-plugin-properties/UPDATE_XAPOLICIES_ON_GRANT_REVOKE","true") +common_name_for_certificate = default("/configurations/ranger-hbase-plugin-properties/common.name.for.certificate", "-") zookeeper_znode_parent = config['configurations']['hbase-site']['zookeeper.znode.parent'] hbase_zookeeoer_quorum = config['configurations']['hbase-site']['hbase.zookeeper.quorum'] http://git-wip-us.apache.org/repos/asf/ambari/blob/634af895/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py index 6d36e80..0df679b 100644 --- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py +++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py @@ -182,6 +182,7 @@ def hbase_repo_properties(): config_dict['hbase.zookeeper.property.clientPort'] = params.hbase_zookeeper_property_clientPort config_dict['hbase.zookeeper.quorum'] = params.hbase_zookeeoer_quorum config_dict['zookeeper.znode.parent'] = params.zookeeper_znode_parent + config_dict['commonNameForCertificate'] = params.common_name_for_certificate if params.security_enabled: config_dict['hbase.master.kerberos.principal'] = params.master_jaas_princ http://git-wip-us.apache.org/repos/asf/ambari/blob/634af895/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 b085c0d..f09d2d1 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 @@ -21,6 +21,12 @@ <configuration supports_final="true"> <property> + <name>common.name.for.certificate</name> + <value>-</value> + <description>Used for repository creation on ranger admin</description> + </property> + + <property> <name>policy_user</name> <value>ambari-qa</value> <description>This user must be system user and also present at Ranger admin portal</description>
