Repository: ambari Updated Branches: refs/heads/branch-2.6 ba9ab71ed -> a3b566f06
AMBARI-21743 Delete ranger-solr-plugin-enabled property during Cross Stack Upgrade (mugdha) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a3b566f0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a3b566f0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a3b566f0 Branch: refs/heads/branch-2.6 Commit: a3b566f062613e6abb57cc8e6ddde0463958ba6c Parents: ba9ab71 Author: Mugdha Varadkar <mug...@apache.org> Authored: Thu Aug 17 17:06:39 2017 +0530 Committer: Mugdha Varadkar <mug...@apache.org> Committed: Thu Aug 17 19:08:29 2017 +0530 ---------------------------------------------------------------------- .../stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml | 4 ++++ .../BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml | 4 ++++ 2 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a3b566f0/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml index 6ed6a11..f55f9fb 100644 --- a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml +++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml @@ -156,6 +156,10 @@ <type>ranger-env</type> <transfer operation="delete" delete-key="bind_anonymous" /> </definition> + <definition xsi:type="configure" id="hdp_2_6_0_0_remove_ranger_solr_plugin_enabled_property"> + <type>ranger-env</type> + <transfer operation="delete" delete-key="ranger-solr-plugin-enabled" if-type="ranger-env" if-key="ranger-solr-plugin-enabled" if-key-state="present" /> + </definition> <definition xsi:type="configure" id="admin_log4j_parameterize" summary="Parameterizing Ranger Log4J Properties"> <type>admin-log4j</type> <set key="ranger_xa_log_maxfilesize" value="256"/> http://git-wip-us.apache.org/repos/asf/ambari/blob/a3b566f0/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml index ed6346d..48d1d92 100644 --- a/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml +++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml @@ -294,6 +294,10 @@ <task xsi:type="configure" id="hdp_2_6_0_0_remove_bind_anonymous"/> </execute-stage> + <execute-stage service="RANGER" component="RANGER_ADMIN" title="Apply config changes for Ranger Admin"> + <task xsi:type="configure" id="hdp_2_6_0_0_remove_ranger_solr_plugin_enabled_property"/> + </execute-stage> + <execute-stage service="RANGER" component="RANGER_ADMIN" title="Parameterizing Ranger Admin Log4J Properties"> <task xsi:type="configure" id="admin_log4j_parameterize"> <summary>Updating the Ranger admin Log4J properties to include parameterizations</summary>