Hi All,
I am having trouble generating blueprints in Ambari 2.0. The procedure worked fine in Ambari 1.7. I am issuing:
curl -u admin:’admin’ -i -H ‘X-Requested-By: ambari’ -X GET http://192.168.0.2:8080/api/v1/clusters/test_cluster?format=blueprint
to a manually built cluster to generate the blueprint. However the output contains hardcoded references to the hosts in the configuration sections e.g:
“yarn.resourcemanager.webapp.https.address” : “hdp-17.hdplab.local:8090″,
Trying to register the blueprint fails.
Removing all the configuration sections out to leave just the “host_groups” section allows the blueprint to be registered however the cluster deployment fails.
Is this an error with the format blueprint function? Surely it can’t be right to have hardcoded values in a “generic” blueprint?
Cheers
Charlie