فهرست منبع

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

Andrew Onishuk 10 سال پیش
والد
کامیت
9ee1721f7d
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py

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