[
https://issues.apache.org/jira/browse/AMBARI-13594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14979235#comment-14979235
]
Hudson commented on AMBARI-13594:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #3730 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3730/])
AMBARI-13594.Express Upgrade: UI - Disallow RU in HDP 2.1->2.3 since no
(xiwang:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9873736281e3adf123dd96ac3520245c7ed44d1d])
* ambari-web/test/controllers/main/admin/stack_and_upgrade_controller_test.js
* ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
* ambari-web/app/assets/data/stack_versions/supported_upgrade_types.json
* ambari-web/app/utils/ajax/ajax.js
> Express Upgrade: UI - Disallow RU in HDP 2.1->2.3 since no upgrade pack
> supports it
> -----------------------------------------------------------------------------------
>
> Key: AMBARI-13594
> URL: https://issues.apache.org/jira/browse/AMBARI-13594
> Project: Ambari
> Issue Type: Story
> Components: ambari-web
> Affects Versions: 2.1.3
> Reporter: Xi Wang
> Assignee: Xi Wang
> Fix For: 2.1.3
>
> Attachments: AMBARI-13594.patch
>
>
> CompatibleRepositoryVersion ResourceProvider will have one more field called
> "upgrade_types" that will be a list of all of the upgrade types that are
> supported from the current stack to the target stack of the repo version that
> is registered.
> E.g.,
> * Current stack is 2.1
> * Cluster Version record for HDP 2.3 is INSTALLED (and has repo)
> Then the button for Perform Upgrade should check the compatible repositories
> endpoint for 2.1->2.3. That particular path will only allow NON_ROLLING (aka
> Express Upgrade).
> The API to use in order to determine whether ROLLING, NON_ROLLING (Express)
> or BOTH are applicable is like this :
> Example : In order to check for 2.2 - > 2.3 upgrade, look at upgrade_types
> information in order to determine the supported type.
> http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/compatible_repository_versions/2
> {
> "href" :
> "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/compatible_repository_versions/2",
> "CompatibleRepositoryVersions" :
> { "display_name" : "HDP-2.3.0.0-2557", "id" : 2, "repository_version" :
> "2.3.0.0-2557", "stack_name" : "HDP", "stack_version" : "2.3", *
> "upgrade_types" : [ "ROLLING", "NON_ROLLING" ]* }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)