Explorar o código

AMBARI-7487. Add host scope dependencies on hdfs and yarn client for slider (aonishuk)

Andrew Onishuk %!s(int64=10) %!d(string=hai) anos
pai
achega
344a96fbcf

+ 16 - 0
ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/metainfo.xml

@@ -29,6 +29,22 @@
           <displayName>Slider</displayName>
           <category>CLIENT</category>
           <cardinality>0+</cardinality>
+          <dependencies>
+            <dependency>
+              <name>HDFS/HDFS_CLIENT</name>
+              <scope>host</scope>
+              <auto-deploy>
+                <enabled>true</enabled>
+              </auto-deploy>
+            </dependency>
+            <dependency>
+              <name>YARN/YARN_CLIENT</name>
+              <scope>host</scope>
+              <auto-deploy>
+                <enabled>true</enabled>
+              </auto-deploy>
+            </dependency>
+          </dependencies>
           <commandScript>
             <script>scripts/slider_client.py</script>
             <scriptType>PYTHON</scriptType>