[
https://issues.apache.org/jira/browse/AMBARI-13054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943514#comment-14943514
]
Hudson commented on AMBARI-13054:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #3596 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3596/])
AMBARI-13054 Pre-Req Endpoint Should Be Used For Determining Upgrade (atkach:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ce8238b605449bee2134cfa8880b44d5fc8545f8])
*
ambari-web/test/views/main/admin/stack_upgrade/upgrade_version_box_view_test.js
* ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_box_view.js
> Pre-Req Endpoint Should Be Used For Determining Upgrade Button Visibility
> -------------------------------------------------------------------------
>
> Key: AMBARI-13054
> URL: https://issues.apache.org/jira/browse/AMBARI-13054
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.1.2
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Priority: Critical
> Fix For: 2.1.3
>
> Attachments: AMBARI-13054-3.patch, AMBARI-13054.patch,
> AMBARI-13054_2.patch, AMBARI-13054_3.patch
>
>
> The web client currently uses a combination of host names, host_state, and
> stack versions to determine if an upgrade should be able to be performed for
> a given stack. If any of the hosts are missing the correct stack, then the
> option to upgrade to that stack is not permitted. The upgrade should be
> allowed, however, if the hosts which are missing the required stack are also
> in maintenance mode.
> The web client should begin using the prerequisite check API endpoint in
> order to calculate if the "Upgrade" button is to be visible for a specific
> stack. This allows the logic for calculating whether at stack is ready
> upgrade to remain on the Ambari Server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)