ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: AMBARI-17078. Make Spark2-ThriftServer and Livy Server as optional by default (Jeff Zhang via smohanty)
Date Tue, 14 Jun 2016 04:31:35 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 2ad0be28a -> 1fef6bd18


AMBARI-17078. Make Spark2-ThriftServer and Livy Server as optional by default (Jeff Zhang
via smohanty)


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

Branch: refs/heads/branch-2.4
Commit: 1fef6bd18e032fed95701c00c76799b50c787332
Parents: 2ad0be2
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Mon Jun 13 21:30:54 2016 -0700
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Mon Jun 13 21:31:28 2016 -0700

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.5/services/stack_advisor.py   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1fef6bd1/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 db2986b..e221415 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
@@ -1474,3 +1474,6 @@ class HDP25StackAdvisor(HDP24StackAdvisor):
     if serviceName in servicesList:
       hosts_for_component = [component["hostnames"] for component in componentsList if component["component_name"]
== componentName][0]
     return hosts_for_component
+
+  def isComponentUsingCardinalityForLayout(self, componentName):
+    return super(HDP25StackAdvisor, self).isComponentUsingCardinalityForLayout (componentName)
or  componentName in ['SPARK2_THRIFTSERVER', 'LIVY_SERVER']
\ No newline at end of file


Mime
View raw message