Hello,
 
I would like to get the similar output as you can see it in the Cloudera Manager UI Hosts->Roles.
 
How can I collect all the roles and on which server this role is added from command line?
 
I can reach
https://hostname:7183/api/v32/clusters/clustername/
 
Also I can reach
https://hostname:7183/api/v32/clusters/clustername/services/servicename
 
I have full administrator right on the cluster,but
what is the correct permission level to get these information?
 
CDH version is 6.3.4 and 6.2.1.
 
Thanks,
András