apiRole

A role represents a specific entity that participate in a service. Examples are JobTrackers, DataNodes, HBase Masters. Each role is assigned a host where it runs on.

JSON

property type description
name name (string) The name of the role.
type type (string) The type of the role, e.g. NAMENODE, DATANODE, TASKTRACKER.
hostRef hostRef (apiHostRef) A reference to the host where this role runs.
serviceRef serviceRef (apiServiceRef) Readonly. A reference to the parent service.
roleState roleState (apiRoleState) Readonly. The configured run state of this role. Whether it's running, etc.
healthSummary healthSummary (apiHealthSummary) Readonly. The high-level health status of this role.
healthChecks array of healthChecks (apiHealthCheck) Readonly. The list of health checks of this service.
haStatus haStatus (haStatus) Readonly. The HA status of this role.
roleUrl roleUrl (string) Readonly. Link into the Cloudera Manager web UI for this specific role.