ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlun...@apache.org
Subject ambari git commit: AMBARI-17830: StackAdvisor fix for altas recommendation for stack 2.3 (Mugdha Varadkar via jluniya)
Date Thu, 21 Jul 2016 17:46:21 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk bd7f32229 -> c2ee8f35d


AMBARI-17830: StackAdvisor fix for altas recommendation for stack 2.3 (Mugdha Varadkar via
jluniya)


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

Branch: refs/heads/trunk
Commit: c2ee8f35db88294341d3d263a96d470b3163bd15
Parents: bd7f322
Author: Jayush Luniya <jluniya@hortonworks.com>
Authored: Thu Jul 21 10:46:17 2016 -0700
Committer: Jayush Luniya <jluniya@hortonworks.com>
Committed: Thu Jul 21 10:46:17 2016 -0700

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.3/services/stack_advisor.py   | 2 +-
 .../src/main/resources/stacks/HDP/2.5/services/stack_advisor.py   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c2ee8f35/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
index 19753e5..24047ce 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
@@ -273,7 +273,7 @@ class HDP23StackAdvisor(HDP22StackAdvisor):
           metadata_port = services['configurations']['application-properties']['properties']['atlas.server.http.port']
         if tls_enabled.lower() == "true":
           scheme = "https"
-          if 'atlas.server.https.port' in services['configurations']['atlas.server.https.port']['properties']:
+          if 'atlas.server.https.port' in services['configurations']['application-properties']['properties']:
             metadata_port =  services['configurations']['application-properties']['properties']['atlas.server.https.port']
           else:
             metadata_port = atlas_server_default_https_port

http://git-wip-us.apache.org/repos/asf/ambari/blob/c2ee8f35/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
index f7d3e58..ba9af11 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
@@ -338,7 +338,8 @@ class HDP25StackAdvisor(HDP24StackAdvisor):
       "HIVE": self.recommendHIVEConfigurations,
       "ATLAS": self.recommendAtlasConfigurations,
       "RANGER_KMS": self.recommendRangerKMSConfigurations,
-      "STORM": self.recommendStormConfigurations
+      "STORM": self.recommendStormConfigurations,
+      "OOZIE": self.recommendOozieConfigurations
     }
     parentRecommendConfDict.update(childRecommendConfDict)
     return parentRecommendConfDict


Mime
View raw message