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

Hudson commented on AMBARI-21430:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1667 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1667/])
AMBARI-21430 - Allow Multiple Versions of Stack Tools to Co-Exist (jhurley: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=db5501028767b779cf100e640146910a5cfdc60a])
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json
* (edit) 
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/alerts/alert_check_oozie_server.py
* (edit) ambari-server/src/main/resources/host_scripts/alert_version_select.py
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_tools.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
* (edit) ambari-server/src/main/resources/host_scripts/alert_disk_space.py
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_llap_app_status.py
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_tools.json
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/stack_features.py
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/configuration/cluster-env.xml
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_features.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/properties/stack_features.json
* (edit) 
ambari-common/src/main/python/resource_management/libraries/script/script.py
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/properties/stack_tools.json
Revert "AMBARI-21430 - Allow Multiple Versions of Stack Tools to (jhurley: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a0aca4f1cb45343297f63c0ef4c02d8e74afa8d0])
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/stack_features.py
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_tools.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
* (edit) 
ambari-common/src/main/python/resource_management/libraries/script/script.py
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_tools.json
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
* (edit) ambari-server/src/main/resources/host_scripts/alert_disk_space.py
* (edit) ambari-server/src/main/resources/host_scripts/alert_version_select.py
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_features.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/properties/stack_tools.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json
* (edit) 
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/alerts/alert_check_oozie_server.py
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/configuration/cluster-env.xml
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/properties/stack_features.json
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_llap_app_status.py
AMBARI-21430 - Allow Multiple Versions of Stack Tools to Co-Exist (jhurley: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6a3bfd5d03b5c6752f9b84c7c6ad530372622090])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_tools.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/properties/stack_tools.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
* (edit) 
ambari-server/src/test/python/stacks/2.6/configs/ranger-admin-secured.json
* (edit) 
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/alerts/alert_check_oozie_server.py
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_llap_app_status.py
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/properties/stack_features.json
* (edit) 
ambari-server/src/test/python/stacks/2.6/configs/ranger-admin-default.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterConfigurationRequestTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
* (edit) 
ambari-server/src/main/resources/stacks/BigInsights/4.0/configuration/cluster-env.xml
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-kms-secured.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java
* (edit) ambari-server/src/main/resources/host_scripts/alert_version_select.py
* (edit) ambari-server/src/test/python/host_scripts/TestAlertDiskSpace.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-admin-default.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
* (edit) 
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_tools.json
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java
* (edit) 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-admin-secured.json
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/configuration/cluster-env.xml
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/stack_features.py
* (edit) 
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_features.json
* (edit) 
ambari-common/src/main/python/resource_management/libraries/script/script.py
* (edit) ambari-server/src/test/python/common-services/configs/hawq_default.json
* (edit) ambari-server/src/test/python/stacks/utils/RMFTestCase.py
* (edit) ambari-server/src/main/resources/host_scripts/alert_disk_space.py
* (edit) 
ambari-server/src/test/python/stacks/2.5/configs/ranger-kms-default.json
AMBARI-21430. Allow Multiple Versions of Stack Tools to Co-Exist - fix 
(adoroszlai: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f01d4a3c2b79e1d09882e685c70c8498822e781d])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog252.java


> Allow Multiple Versions of Stack Tools to Co-Exist
> --------------------------------------------------
>
>                 Key: AMBARI-21430
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21430
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.2
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21430.patch
>
>
> Currently, the stack tools:
> - {{cluster-env/stack_features}}
> - {{cluster-env/stack_tools}}
> - {{cluster-env/stack_root}}
> Are bound to the {{cluster-env}} without any sort of scoping. This prevents 2 
> sets of stack tools from co-existing. Although Ambari doesn't support more 
> than a single stack in 2.x, we do support upgrades from one stack vendor to 
> another. Therefore, we need this support to send the right tools on the 
> commands.
> This will involve the following work:
> - Changing the existing stack tools/features/root to have a stack name as the 
> key in the JSON
> - Altering the existing {{cluster-env}} tools on upgrade
> - Ensuring that the stack tools/features for a repository's stack exist when 
> distributing that stack
> - Changing any Python code which references the stack tools (stack_tools.py, 
> alerts, etc)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to