ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaimin Jetly <jai...@hortonworks.com>
Subject Re: slave component hosts parameters
Date Mon, 23 Mar 2015 20:12:54 GMT
Hi Satyanarayana,


As of today, any service configuration property that needs to have list of slave host components
as its value needs to be set explicitly in the ambari-web javascript code (link to code<https://git-wip-us.apache.org/repos/asf/ambari/repo?p=ambari.git;a=blob;f=ambari-web/app/models/service_config.js;h=a06b870874d886021be40d404ce1da464df5abab;hb=e3ab1910787320d985eb1b97bc136614b3dd48a2#l279>).


Hope this information helps!

________________________________
From: Satyanarayana Jampa <sjampa@innominds.com>
Sent: Friday, March 20, 2015 2:24 AM
To: user@ambari.apache.org
Subject: slave component hosts parameters

I have written a custom service component[slave]
How can I get the lists of selected hosts in the "Assign slaves and clients" screen to "Customize
Services" screen. I want the list of hosts value to be set to one of the property in the "Customize
services" screen. Or is there any parameter which I can use in my service component config.xml
file something like
below:
                <property>
                  <name>MY_PARAM1</name>
                  <value>{HOSTS}</value>
                </property>

Also, for master components, why do we see the host parameter as COMPONENT_NAME_HOSTS instead
of "COMPONENT_NAME_HOST" [without 'S']

Thanks,
Satya.



Mime
View raw message