Oleg Nechiporenko created AMBARI-4604:
-----------------------------------------

             Summary: UI is not reflecting HBase Master active status
                 Key: AMBARI-4604
                 URL: https://issues.apache.org/jira/browse/AMBARI-4604
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.5.0
         Environment: HDP 2.1.1
Ambari trunk: e20cd88855b8cbf623add2ba41908a76aeaf7c7d
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
             Fix For: 1.5.0
         Attachments: Screen Shot 2014-02-10 at 8.08.09 PM.png

I have a 3-node cluster deployed, with two HBase Masters.
The Ambari API also shows that c6403 is the active master and c6401 is the 
standby master (see metrics.hbase.master.IsActiveMaster), but the UI is not 
reflecting this (showing that both c6401 and c6403 are standby maters).  Also, 
Quick Links is broken.
{noformat}
http://c6401.ambari.apache.org:8080/api/v1/clusters/yusaku/hosts/c6403.ambari.apache.org/host_components/HBASE_MASTER?fields=metrics/hbase/master
{
  "href" : 
"http://c6401.ambari.apache.org:8080/api/v1/clusters/yusaku/hosts/c6403.ambari.apache.org/host_components/HBASE_MASTER?fields=metrics/hbase/master";,
  "HostRoles" : {
    "cluster_name" : "yusaku",
    "component_name" : "HBASE_MASTER",
    "host_name" : "c6403.ambari.apache.org"
  },
  "host" : {
    "href" : 
"http://c6401.ambari.apache.org:8080/api/v1/clusters/yusaku/hosts/c6403.ambari.apache.org";
  },
  "metrics" : {
    "hbase" : {
      "master" : {
        "AverageLoad" : 3.0,
        "ClusterId" : "a421e50e-1a93-4d33-94e6-1c33d85b57bc",
        "DeadRegionServers" : 0,
        "IsActiveMaster" : "true",
        "MasterActiveTime" : 1392089448341,
        "MasterStartTime" : 1392089445864,
        "RegionServers" : 1,
        "ServerName" : "c6403.ambari.apache.org,60000,1392089442723",
        "ZookeeperQuorum" : 
"c6402.ambari.apache.org:2181,c6401.ambari.apache.org:2181,c6403.ambari.apache.org:2181",
        "cluster_requests" : 31711
      }
    }
  }
}
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to