I’m trying to find out which hosts in my cluster have which components using Ambari Rest API commands. The cluster’s blueprint has a log of which components are on which host, but they do not give the appropriate name to the hosts. They give a generic name like “host_group_2″, instead of the actual host name. Is there some way that I can find out which host is which by using Ambari Rest API calls?
↧