You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/03/10 22:12:39 UTC

[1/2] ambari git commit: AMBARI-10001. Missing property "Common Name for Certificate" in Advanced ranger-hbase-plugin-properties (Gautam Borad via alejandro)

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 <af...@hortonworks.com>
Authored: Tue Mar 10 14:09:20 2015 -0700
Committer: Alejandro Fernandez <af...@hortonworks.com>
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>


[2/2] ambari git commit: AMBARI-10002. Change error message during ranger admin install failure (Gautam Borad via alejandro)

Posted by al...@apache.org.
AMBARI-10002. Change error message during ranger admin install failure (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/73a80ef1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/73a80ef1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/73a80ef1

Branch: refs/heads/branch-2.0.0
Commit: 73a80ef15fd68746b444c6b6acb8b2cf76df53a5
Parents: 634af89
Author: Alejandro Fernandez <af...@hortonworks.com>
Authored: Tue Mar 10 14:10:16 2015 -0700
Committer: Alejandro Fernandez <af...@hortonworks.com>
Committed: Tue Mar 10 14:10:16 2015 -0700

----------------------------------------------------------------------
 .../common-services/RANGER/0.4.0/package/scripts/setup_ranger.py   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/73a80ef1/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py
index 3134567..e2b81c8 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py
@@ -243,7 +243,7 @@ def check_db_connnection():
     return True
   else:
     Logger.info(
-      'Ranger Admin installation Failed! Ranger requires DB client installed on Ranger Host and DB server running on DB Host')
+      'Ranger Admin installation Failed! Ranger requires DB client installed on Ranger Host, DB administrative privileges configured for connectivity from the Ranger Admin host to the configured DB host/instance and the DB server up and running on the DB host.')
     sys.exit(1)
 
 def get_status_output(cmd):