Typo on the previous email:
<enabled> should be set to true.
Thanks
----- Original message -----
From: Pei H Zeng/Silicon Valley/IBM@IBMUS
To: user@ambari.apache.org
Cc:
Subject: <auto-deploy> does not work for Slave component
Date: Wed, Apr 5, 2017 10:13 AM
Hi,Does the <auto-deploy> tag not work for Slave components?E.g. metainfo.xml for MYSERVICE/MYCLIENT<component>
<name>MYCLIENT</name>
<displayName>My Client</displayName>
<category>CLIENT</category>
<cardinality>1+</cardinality>
<dependencies>
<dependency>
<name>HDFS/DATANODE</name>
<scope>host</scope>
<auto-deploy>
<enabled>false</enabled>
<co-locate>MYSERVICE/MYCLIENT</co-locate>
</auto-deploy>
</dependency>
</dependencies>
</component>
I have tried this, it does not auto-deploy a DataNode on the nodes that I tried to install MYCLIENT. Is this because DataNode is a Slave component?Thanks