AMBARI-22205 - Install Version Fails On IOP Cluster Due To Missing 
stack_packages Structure  (jonathanhurley)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/323974e1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/323974e1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/323974e1

Branch: refs/heads/feature-branch-AMBARI-21307
Commit: 323974e19d469313c9bafa1bda3000ea62f85bc8
Parents: 6f59806
Author: Jonathan Hurley <jhur...@hortonworks.com>
Authored: Wed Oct 11 10:41:38 2017 -0400
Committer: Jonathan Hurley <jhur...@hortonworks.com>
Committed: Wed Oct 11 15:02:13 2017 -0400

----------------------------------------------------------------------
 .../internal/ClusterStackVersionResourceProvider.java           | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/323974e1/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
index 388551f..1a75559 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
@@ -874,10 +874,11 @@ public class ClusterStackVersionResourceProvider extends 
AbstractControllerResou
     Config clusterEnv = 
cluster.getDesiredConfigByType(ConfigHelper.CLUSTER_ENV);
     Map<String, String> clusterEnvProperties = clusterEnv.getProperties();
 
-    // the 3 properties we need to check and update
+    // the 4 properties we need to check and update
     Set<String> properties = 
Sets.newHashSet(ConfigHelper.CLUSTER_ENV_STACK_ROOT_PROPERTY,
         ConfigHelper.CLUSTER_ENV_STACK_TOOLS_PROPERTY,
-        ConfigHelper.CLUSTER_ENV_STACK_FEATURES_PROPERTY);
+        ConfigHelper.CLUSTER_ENV_STACK_FEATURES_PROPERTY,
+        ConfigHelper.CLUSTER_ENV_STACK_PACKAGES_PROPERTY);
 
     // any updates are stored here and merged into the existing config type
     Map<String, String> updatedProperties = new HashMap<>();

Reply via email to