ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei H Zeng" <zeng...@us.ibm.com>
Subject <auto-deploy> does not work for Slave component
Date Wed, 05 Apr 2017 17:13:14 GMT
<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt"
><div dir="ltr" >Hi,</div>
<div dir="ltr" >&nbsp;</div>
<div dir="ltr" >Does the &lt;auto-deploy&gt; tag not work for Slave components?</div>
<div dir="ltr" >&nbsp;</div>
<div dir="ltr" >E.g. metainfo.xml for MYSERVICE/MYCLIENT</div>
<div dir="ltr" ><p class="p1" ><span class="s1" >&lt;</span>component<span
class="s1" >&gt;</span></p>
<p class="p3" ><span class="s1" >&nbsp; &nbsp; &lt;</span><span
class="s3" >name</span><span class="s1" >&gt;</span>MYCLIENT<span
class="s1" >&lt;/</span><span class="s3" >name</span><span class="s1"
>&gt;</span></p>
<p class="p3" ><span class="s1" >&nbsp; &nbsp; &lt;</span><span
class="s3" >displayName</span><span class="s1" >&gt;</span>My Client<span
class="s1" >&lt;/</span><span class="s3" >displayName</span><span
class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &lt;</span>category<span
class="s1" >&gt;</span><span class="s2" >CLIENT</span><span class="s1"
>&lt;/</span>category<span class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &lt;</span>cardinality<span
class="s1" >&gt;</span><span class="s2" >1+</span><span class="s1"
>&lt;/</span>cardinality<span class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &lt;</span>dependencies<span
class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &lt;</span>dependency<span
class="s1" >&gt;</span></p>
<p class="p3" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;</span><span class="s3" >name</span><span class="s1"
>&gt;</span>HDFS/DATANODE<span class="s1" >&lt;/</span><span
class="s3" >name</span><span class="s1" >&gt;</span></p>
<p class="p3" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;</span><span class="s3" >scope</span><span class="s1"
>&gt;</span>host<span class="s1" >&lt;/</span><span class="s3"
>scope</span><span class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;</span>auto-deploy<span class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;</span>enabled<span class="s1" >&gt;</span><span
class="s2" >false</span><span class="s1" >&lt;/</span>enabled<span
class="s1" >&gt;</span></p>
<p class="p3" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;</span><span class="s3" >co-locate</span><span
class="s1" >&gt;</span>MYSERVICE/MYCLIENT<span class="s1" >&lt;/</span><span
class="s3" >co-locate</span><span class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;/</span>auto-deploy<span class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&nbsp; &nbsp; &nbsp; &nbsp; &lt;/</span>dependency<span
class="s1" >&gt;</span></p>
<p class="p1" ><span class="s1" >&lt;/</span>dependencies<span class="s1"
>&gt;</span></p>
<p class="p1" ><span class="s1" style="font-size: 10.5pt;" >&lt;/</span><span
style="font-size: 10.5pt;" >component</span><span class="s1" style="font-size:
10.5pt;" >&gt;</span></p>
<div>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?</div>
<div>&nbsp;</div>
<div>Thanks</div></div></div><BR>


Mime
View raw message