the following API , print all components
curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://localhost:8080/api/v1/clusters/HDP/components/ | grep component_name
in out case we need list of component per master machine
we have 3 master machines in the cluster
so what is the API that will capture the component on specific master machine ?
Michael-Bronson