Support Questions

Find answers, ask questions, and share your expertise

HDP installation via ambari blueprint

avatar

I am confused with some of things while building cluster through ambari blueprint option .

I am referring below link for the same:

https://community.hortonworks.com/articles/47170/automate-hdp-installation-using-ambari-blueprints.h...

When we create hostmapping.json file like below name is mentioned as host_group_1 , My question is :

can we name anything or it is real name of host we have like I have machine with some name and its fully qualified name ?

{ "blueprint" : "single-node-hdp-cluster", "default_password" : "admin", "host_groups" :[ { "name" : "host_group_1", "hosts" : [ { "fqdn" : "<fqdn-of-single-node-cluster-machine>" } ] } ] }

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Anurag Mishra

You can give the "host_groups" name to anything like "host_group_1", "host_group_2", "host_group_3" ...etc

But the host name which is "fqdn" that should be the exact hostname it should match the ambari agents FQDN which you can get when you run the following command on the ambari agent machines:

# hostname -f

.

View solution in original post

1 REPLY 1

avatar
Master Mentor

@Anurag Mishra

You can give the "host_groups" name to anything like "host_group_1", "host_group_2", "host_group_3" ...etc

But the host name which is "fqdn" that should be the exact hostname it should match the ambari agents FQDN which you can get when you run the following command on the ambari agent machines:

# hostname -f

.