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 2016/10/28 18:56:58 UTC

[jira] [Commented] (AMBARI-18726) Upgrade Orchestration Groups And Stages Should Be Conditionally Controlled

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

Hudson commented on AMBARI-18726:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #226 (See [https://builds.apache.org/job/Ambari-branch-2.5/226/])
AMBARI-18726 - Upgrade Orchestration Groups And Stages Should Be (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9ed6fbfc24dee63f8450536b7ffc3e1d96e508b7])
* (edit) ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.4.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeHelper.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml
* (edit) ambari-server/src/test/java/org/apache/ambari/server/state/stack/upgrade/StageWrapperBuilderTest.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml
* (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.3/upgrades/nonrolling-upgrade-2.3.xml
* (edit) ambari-server/src/test/resources/stacks_with_upgrade_cycle/HDP/2.2.0/upgrades/upgrade_test_15388.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_nonrolling_new_stack.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/SecurityType.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.4.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml
* (add) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/SecurityCondition.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/Grouping.java
* (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.3/upgrades/nonrolling-upgrade-2.6.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ClusterGrouping.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml
* (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.4/upgrades/upgrade-2.5.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.2.0/upgrades/upgrade_test_checks.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.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/nonrolling-upgrade-2.5.xml
* (edit) ambari-server/src/main/resources/upgrade-pack.xsd
* (edit) ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.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.5/upgrades/nonrolling-upgrade-2.6.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml
* (add) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/Condition.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.2/upgrades/upgrade-2.3.xml
* (edit) ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test_partial.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContext.java
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test.xml
* (add) ambari-server/src/test/resources/stacks/HDP/2.2.0/upgrades/upgrade_test_conditions.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_direction.xml
* (add) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/ConfigurationCondition.java
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test_nonrolling.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_to_new_stack.xml
* (edit) ambari-server/src/test/resources/stacks/HDP/2.1.1/upgrades/upgrade_test_checks.xml


> Upgrade Orchestration Groups And Stages Should Be Conditionally Controlled
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-18726
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18726
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18726.patch
>
>
> Add a way to compute whether an execute-stage should be included, other than the simple service/component check.  
> For example some stage should only be executed if the cluster has Kerberos enabled.  This can be determined using the {{cluster-env/security_enabled}} flag; or (better yet) the {{Cluster}}'s {{securityType}} property, which would be set to "KERBEROS".
> Currently the only filter is based on service and component, which does not work in the case of Kerberos since Kerberos can be enabled without needing to install the KERBEROS service or the KERBEROS_CLIENT component. This will happen if the Kerberos identities are managed manually rather than configuring Ambari to do it by integrating with a supported KDC. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)