ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-3667) HBase UI Master status
Date Fri, 01 Nov 2013 16:57:27 GMT
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)

Mime
View raw message