You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2017/04/05 20:00:51 UTC
[1/3] ambari git commit: AMBARI-20555. Add Ambari cluster name for
Ranger-Tagsync to sync generated atlas tags (Vishal Suvagia via smohanty)
Repository: ambari
Updated Branches:
refs/heads/branch-2.5 44b5155fc -> a9a23e22a
AMBARI-20555. Add Ambari cluster name for Ranger-Tagsync to sync generated atlas tags (Vishal Suvagia via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1730747c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1730747c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1730747c
Branch: refs/heads/branch-2.5
Commit: 1730747cf0da3a35dd85f4864e04d389d25cad30
Parents: 44b5155
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Fri Mar 24 06:53:22 2017 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Wed Apr 5 12:56:18 2017 -0700
----------------------------------------------------------------------
.../common-services/RANGER/0.4.0/package/scripts/params.py | 5 ++++-
.../RANGER/0.7.0/configuration/ranger-tagsync-site.xml | 9 +++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/1730747c/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
index 0fae23e..094d239 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
@@ -442,4 +442,7 @@ ranger_truststore_alias = default('/configurations/ranger-admin-site/ranger.trus
https_enabled = config['configurations']['ranger-admin-site']['ranger.service.https.attrib.ssl.enabled']
http_enabled = config['configurations']['ranger-admin-site']['ranger.service.http.enabled']
https_keystore_password = config['configurations']['ranger-admin-site']['ranger.service.https.attrib.keystore.pass']
-truststore_password = config['configurations']['ranger-admin-site']['ranger.truststore.password']
\ No newline at end of file
+truststore_password = config['configurations']['ranger-admin-site']['ranger.truststore.password']
+
+# need this to capture cluster name for ranger tagsync
+cluster_name = config['clusterName']
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/1730747c/ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-tagsync-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-tagsync-site.xml b/ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-tagsync-site.xml
index d186625..6391bd4 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-tagsync-site.xml
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-tagsync-site.xml
@@ -31,4 +31,13 @@
<description>Keystore and truststore information used for tagsync, required if tagsync to atlas communication is SSL enabled</description>
<on-ambari-upgrade add="false"/>
</property>
+ <property>
+ <name>ranger.tagsync.atlas.default.cluster.name</name>
+ <value>{{cluster_name}}</value>
+ <description>Capture cluster name</description>
+ <value-attributes>
+ <empty-value-valid>true</empty-value-valid>
+ </value-attributes>
+ <on-ambari-upgrade add="false"/>
+ </property>
</configuration>
\ No newline at end of file
[2/3] ambari git commit: AMBARI-20556. Add SPARK_CONF_DIR in livy-env
when upgrading from HDP 2.5 to 2.6 (Jeff Zhang via alejandro)
Posted by sm...@apache.org.
AMBARI-20556. Add SPARK_CONF_DIR in livy-env when upgrading from HDP 2.5 to 2.6 (Jeff Zhang via alejandro)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7fbec01c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7fbec01c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7fbec01c
Branch: refs/heads/branch-2.5
Commit: 7fbec01c4eb1f947ca03fae4c6f83081cec26f10
Parents: 1730747
Author: Alejandro Fernandez <af...@hortonworks.com>
Authored: Fri Mar 24 15:48:36 2017 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Wed Apr 5 12:57:01 2017 -0700
----------------------------------------------------------------------
.../main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml | 4 ++++
.../resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml | 4 ++++
.../src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml | 1 +
3 files changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7fbec01c/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml
index 4a6e98b..95040aa 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/config-upgrade.xml
@@ -75,6 +75,10 @@
<transfer operation="move" from-key="livy.server.kerberos.keytab" to-key="livy.server.launch.kerberos.keytab" />
<transfer operation="move" from-key="livy.server.kerberos.principal" to-key="livy.server.launch.kerberos.principal" />
</definition>
+ <definition xsi:type="configure" id="hdp_2_5_0_0_add_spark_conf_dir_livy_configs">
+ <type>livy-env</type>
+ <insert key="content" value="export SPARK_CONF_DIR=/usr/hdp/current/spark-client/conf" insert-type="append" newline-before="true" newline-after="true" />
+ </definition>
</changes>
</component>
</service>
http://git-wip-us.apache.org/repos/asf/ambari/blob/7fbec01c/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml
index 97fb768..4c7faf1 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml
@@ -564,6 +564,10 @@
<task xsi:type="configure" id="hdp_2_5_0_0_rename_spark_livy_configs"/>
</execute-stage>
+ <execute-stage service="SPARK" component="LIVY_SERVER" title="Add SPARK_CONF_DIR for Livy Server">
+ <task xsi:type="configure" id="hdp_2_5_0_0_add_spark_conf_dir_livy_configs"/>
+ </execute-stage>
+
<execute-stage service="SPARK" component="SPARK_CLIENT" title="Apply config changes for Spark">
<task xsi:type="configure" id="hdp_2_5_0_0_spark_yarn_queue">
<summary>Add queue customization property</summary>
http://git-wip-us.apache.org/repos/asf/ambari/blob/7fbec01c/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml
index fe25928..11d24c9 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml
@@ -881,6 +881,7 @@
<component name="LIVY_SERVER">
<pre-upgrade>
<task xsi:type="configure" id="hdp_2_5_0_0_rename_spark_livy_configs" />
+ <task xsi:type="configure" id="hdp_2_5_0_0_add_spark_conf_dir_livy_configs" />
</pre-upgrade>
<pre-downgrade />
[3/3] ambari git commit: AMBARI-20570. Remove property
atlas.cluster.name from hive-site for fresh deployments (smohanty)
Posted by sm...@apache.org.
AMBARI-20570. Remove property atlas.cluster.name from hive-site for fresh deployments (smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a9a23e22
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a9a23e22
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a9a23e22
Branch: refs/heads/branch-2.5
Commit: a9a23e22afd4b92226baed28af43aa33aeb7ba59
Parents: 7fbec01
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Fri Mar 24 20:31:18 2017 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Wed Apr 5 12:57:29 2017 -0700
----------------------------------------------------------------------
.../stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a9a23e22/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml
index cd19519..f0b945a 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-site.xml
@@ -24,4 +24,9 @@ limitations under the License.
<deleted>true</deleted>
<on-ambari-upgrade add="false"/>
</property>
+ <property>
+ <name>atlas.cluster.name</name>
+ <on-ambari-upgrade add="false"/>
+ <deleted>true</deleted>
+ </property>
</configuration>