role element
Type: | 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.
Example JSON
{
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "..."
},
"serviceRef" : {
"clusterName" : "...",
"serviceName" : "..."
},
"roleState" : "HISTORY_NOT_AVAILABLE",
"healthSummary" : "DISABLED",
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED"
}, ... ],
"haStatus" : "ACTIVE",
"roleUrl" : "..."
}