You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2013/11/01 17:57:27 UTC
[jira] [Created] (AMBARI-3667) HBase UI Master status
Antonenko Alexander created AMBARI-3667:
-------------------------------------------
Summary: HBase UI Master status
Key: AMBARI-3667
URL: https://issues.apache.org/jira/browse/AMBARI-3667
Project: Ambari
Issue Type: Task
Components: client
Affects Versions: 1.4.2
Reporter: Antonenko Alexander
Assignee: Antonenko Alexander
Fix For: 1.4.2
In HBase refactor, the ha_status field is being removed from HostComponent. The following API structure is how to get the active/passive boolean:
{noformat}
GET /api/v1/clusters/c1/hosts/h1/host_components/HBASE_MASTER
{
"href" : "http://localhost:8080/api/v1/clusters/c1/hosts/h1/host_components/HBASE_MASTER?fields=metrics/hbase/master/IsActiveMaster",
"HostRoles" : {
"cluster_name" : "c1",
"component_name" : "HBASE_MASTER",
"host_name" : "h1"
},
"metrics" : {
"hbase" : {
"master" : {
"IsActiveMaster" : "true"
}
}
}
}
{noformat}
Each layer in the tree should be checked for existence. when traversing the metrics attribute.
--
This message was sent by Atlassian JIRA
(v6.1#6144)