Hello,
To control the layout of components on the cluster, you would contribute your 
logic to the stack_advisor.py script in the stack-version which contains your 
service. For example NameNode placement wrt ResourceManager etc. can be seen at 
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py#L1392

Depending on the type of component (Master, Slave, Client) and its cardinality, 
the component gets distributed in the layout by the stack-advisor.
Regards,
Srimanth


________________________________________
From: Mauro Cortellazzi <mauro.cortella...@radicalbit.io>
Sent: Wednesday, March 09, 2016 4:12 AM
To: user@ambari.apache.org
Subject: disable installation of different conponents of the same service on 
the same node

Hi all, I'm developing a custom service for Ambari.
Is there a way to disable the installation of different components of
the same service on the same node?
For example prevent a slave component installation if a master component
of the same service is already configured on a single node of the cluster?
Thank you for your support.
Bests.
Mauro

Reply via email to