Support Questions
Find answers, ask questions, and share your expertise

Access node label details using REST API

Access node label details using REST API

New Contributor

Hi,

Node Label is applied to few nodes in a cluster. Is there any way to access below details using the REST API exposed by Ambari/HDP. If yes kindly share the curl command to invoke the same.

a) All nodes to which a node label is applied, the label and the host name

b) Queues present in a node which has a node label applied and the precentage of allocation if there are multiple queues in the node

thanks,

nks