Repository: ambari
Updated Branches:
  refs/heads/trunk 39ab95abc -> 9ee1721f7


AMBARI-10957. NFS gateway component should not be checked by default (aonishuk)


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

Branch: refs/heads/trunk
Commit: 9ee1721f7d7f1b407ed5acd30fe52068574ae3d8
Parents: 39ab95a
Author: Andrew Onishuk <aonis...@hortonworks.com>
Authored: Wed May 6 16:31:47 2015 +0300
Committer: Andrew Onishuk <aonis...@hortonworks.com>
Committed: Wed May 6 16:31:47 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/9ee1721f/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 c3a9945..5a23f24 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
@@ -41,3 +41,6 @@ class HDP23StackAdvisor(HDP22StackAdvisor):
       if 
services["configurations"]["tez-site"]["properties"]["tez.runtime.sorter.class"]
 == "LEGACY":
         putTezAttribute = self.putPropertyAttribute(configurations, "tez-site")
         putTezAttribute("tez.runtime.io.sort.mb", "maximum", 2047)
+
+  def isComponentUsingCardinalityForLayout(self, componentName):
+    return componentName == 'NFS_GATEWAY'
\ No newline at end of file

Reply via email to