Преглед на файлове

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'