Summary
Return the component identified by “:componentName” for for the service identifired by “:serviceName”.
GET /clusters/:name/services/:serviceName/components/:componentName
Response
Example
GET /clusters/c1/services/HDFS/components/DATANODE 200 OK { "href" : "http://your.ambari.server/api/v1/clusters/c1/services/HDFS/components/DATANODE", "metrics" : { "process" : { ... }, "rpc" : { ... }, "ugi" : { ... }, "dfs" : { "datanode" : { ... } }, "disk" : { ... }, "cpu" : { ... }, "rpcdetailed" : { ... }, "jvm" : { ... }, "load" : { ... }, "memory" : { ... }, "network" : { ... }, }, "ServiceComponentInfo" : { "cluster_name" : "c1", "component_name" : "DATANODE", "service_name" : "HDFS" "state" : "STARTED" }, "host_components" : [ { "href" : "http://your.ambari.server/api/v1/clusters/c1/hosts/host1/host_components/DATANODE", "HostRoles" : { "cluster_name" : "c1", "component_name" : "DATANODE", "host_name" : "host1" } } ] }