When i start my service using cloudera manger UI . its automatically done changes in some configuration parameters of particular service . for example when i start YARN service using cloudera Manger UI it changes Java Heap Size of Resource Manger and Node Manager . but when i tried to run "YARN" using cloudera manager API it doest not change this parameter and i think its use a default configuartion parameter , sometime its also show error like " cannot allocate particular amount of memory" . and after manually doing chnages in Java Heap Size of Resource Manger and Node Manager , service started succefully
is this a default behavior of cloudera manger API and its a Developer/Admin responsibility to set all the configuration parameter ?
Sounds like you want automatic configuration. This is done by the CM wizard, and is separate from starting. Often when adding a service, you need to:
1. add the service
2. add roles, or automatically assign roles
3 .run auto configuration
4. execute first run
These are all available in the API.
Assuming this is for adding a specific service, which is distinct from configuring a whole new cluster, here's what you'll want:
Auto role assignment: