ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3667) HBase UI Master status
Date Fri, 01 Nov 2013 21:47:17 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811690#comment-13811690
] 

Srimanth Gunturi commented on AMBARI-3667:
------------------------------------------

+1 for patch. AMBARI-3669 implemented the server side change.

> 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
>
>         Attachments: AMBARI-3667.patch
>
>
> 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