AMBARI-7487. Add host scope dependencies on hdfs and yarn client for slider (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/344a96fb Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/344a96fb Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/344a96fb Branch: refs/heads/branch-alerts-dev Commit: 344a96fbcf57eb50814db9f2c937598c12699708 Parents: b588278 Author: Andrew Onishuk <[email protected]> Authored: Thu Sep 25 16:33:10 2014 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Thu Sep 25 16:33:10 2014 +0300 ---------------------------------------------------------------------- .../stacks/HDP/2.2/services/SLIDER/metainfo.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/344a96fb/ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/metainfo.xml index 22f5efe..cfc9891 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/metainfo.xml +++ b/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>
