Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How do add a new host to an existing config_group using ambari API

Highlighted

How do add a new host to an existing config_group using ambari API

I'm adding a new node to a cluster and adding and installing some services to the node using Ambari API, and that's well documented, for example here. Now I have a special case where I want to add a service, like Node Manager to a specific, non-default, already existing config group. I don't want to change the config group other than adding my host to it. What's the call, or a sequence to that?

1 REPLY 1

Re: How do add a new host to an existing config_group using ambari API

I guess I can try the approash from here, getting a desired config group settings, inserting my new host in it, and uploading to Ambari using PUT. And doing this after adding the host_component but before installing it?

Don't have an account?
Coming from Hortonworks? Activate your account here