You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/05/31 20:52:00 UTC

[jira] [Commented] (AMBARI-24002) Set All Versions only on Upgrades which cannot be Downgraded

    [ https://issues.apache.org/jira/browse/AMBARI-24002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497158#comment-16497158 ] 

Hudson commented on AMBARI-24002:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9379 (See [https://builds.apache.org/job/Ambari-trunk-Commit/9379/])
[AMBARI-24002] - Set All Versions only on Upgrades which cannot be (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=7700ee84c0019a8ba0f7c07f57d1009509819cdd])
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml
* (edit) ambari-server/src/test/python/TestStackSelect.py
* (add) ambari-server/src/main/resources/custom_actions/scripts/stack_select_set_all.py
* (delete) ambari-server/src/main/resources/custom_actions/scripts/ru_set_all.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml
* (edit) ambari-common/src/main/python/resource_management/libraries/functions/upgrade_summary.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
* (edit) ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContext.java
* (edit) ambari-server/src/test/resources/stacks/HDP/2.2.0/upgrades/upgrade_test.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml
* (add) ambari-server/src/test/python/custom_actions/test_stack_select_set_all.py
* (edit) ambari-server/src/test/resources/stacks/HDP/2.2.0/upgrades/upgrade_test_15388.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml
* (edit) ambari-server/src/test/python/TestUpgradeSummary.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml
* (edit) ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml
* (delete) ambari-server/src/test/python/custom_actions/test_ru_set_all.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_nonrolling_new_stack.xml
* (edit) ambari-server/src/test/python/TestStackFeature.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/host-upgrade-2.5.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml
* (edit) ambari-server/src/test/resources/stacks_with_upgrade_cycle/HDP/2.2.0/upgrades/upgrade_test_15388.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test_nonrolling.xml


> Set All Versions only on Upgrades which cannot be Downgraded
> ------------------------------------------------------------
>
>                 Key: AMBARI-24002
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24002
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The legacy {{ru_set_all.py}} was deprecated a long time ago. It no longer makes sense now that clusters can have services and components on different versions. 
> However, it still might be nice on a full upgrade (which cannot be downgraded) to allow it to run in order to reset all symlink pointers.
>  * Renamed {{ru_set_all}} to {{stack_select_set_all}}
>  * Removing {{stack_select_set_all}} from most upgrade packs
>  * Scoped {{stack_select_set_all}} to only work on upgrades with are non-downgradeable



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)