Browse Source

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

Andrew Onishuk 10 years ago
parent
commit
9ee1721f7d

+ 3 - 0
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'