AMBARI-21424. BigInsight stack upgrade XML files should prevent downgrade
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/85d7c196 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/85d7c196 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/85d7c196 Branch: refs/heads/branch-2.5 Commit: 85d7c196fab097baf55697c3cc99ae51710b0c43 Parents: a0aca4f Author: Attila Doroszlai <[email protected]> Authored: Fri Jul 7 04:02:36 2017 +0200 Committer: Attila Doroszlai <[email protected]> Committed: Fri Jul 7 22:27:03 2017 +0200 ---------------------------------------------------------------------- .../BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml | 4 +--- .../BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/85d7c196/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 af87794..4626005 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 @@ -20,10 +20,8 @@ <upgrade xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="upgrade-pack.xsd"> <target>2.6.*.*</target> <target-stack>HDP-2.6</target-stack> - <type>NON_ROLLING</type> - <!-- TODO <downgrade-allowed>false</downgrade-allowed> - --> + <type>NON_ROLLING</type> <prerequisite-checks> <check>org.apache.ambari.server.checks.ServicesYarnWorkPreservingCheck</check> <check>org.apache.ambari.server.checks.JavaVersionCheck</check> http://git-wip-us.apache.org/repos/asf/ambari/blob/85d7c196/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml index af87794..4626005 100644 --- a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml +++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml @@ -20,10 +20,8 @@ <upgrade xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="upgrade-pack.xsd"> <target>2.6.*.*</target> <target-stack>HDP-2.6</target-stack> - <type>NON_ROLLING</type> - <!-- TODO <downgrade-allowed>false</downgrade-allowed> - --> + <type>NON_ROLLING</type> <prerequisite-checks> <check>org.apache.ambari.server.checks.ServicesYarnWorkPreservingCheck</check> <check>org.apache.ambari.server.checks.JavaVersionCheck</check>
