You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/03/27 20:44:41 UTC

[jira] [Commented] (AMBARI-20591) In case of HA-enabled cluster on shutting down Active Master, Ambari rest api call and HBase quick links show two Active Masters

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

Hadoop QA commented on AMBARI-20591:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12860682/AMBARI-20591.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/11194//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11194//console

This message is automatically generated.

> In case of HA-enabled cluster on shutting down Active Master, Ambari rest api call and HBase quick links show two Active Masters
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20591
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20591
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics, ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Romil Choksi
>            Assignee: Dmytro Sen
>            Priority: Blocker
>             Fix For: 2.5.1
>
>         Attachments: AMBARI-20591.patch
>
>
> In case of HA-enabled cluster on shutting down Active Master, Ambari rest api call and HBase quick links show two Active Masters. On restarting the stopped master, number of Active Master is down to 1.
> Rest api call
> https://host1:8443/api/v1/clusters/cl1/host_components?HostRoles/component_name=HBASE_MASTER&metrics/hbase/master/IsActiveMaster=true
> Rest Api call response
> {code}
> {
> "href": "https://host1:8443/api/v1/clusters/cl1/host_components?HostRoles/component_name=HBASE_MASTER&metrics/hbase/master/IsActiveMaster=true",
> "items": [
> {
> "href": "https://host1:8443/api/v1/clusters/cl1/hosts/ctr-e129-1487033772569-55070-01-000002.localdomain/host_components/HBASE_MASTER",
> "HostRoles": {
> "cluster_name": "cl1",
> "component_name": "HBASE_MASTER",
> "host_name": "ctr-e129-1487033772569-55070-01-000002.localdomain"
> },
> "host": {
> "href": "https://host1:8443/api/v1/clusters/cl1/hosts/ctr-e129-1487033772569-55070-01-000002.localdomain"
> },
> "metrics": {
> "hbase": {
> "master": {
> "IsActiveMaster": "true"
> }
> }
> }
> },
> {
> "href": "https://host1:8443/api/v1/clusters/cl1/hosts/ctr-e129-1487033772569-55070-01-000003.localdomain/host_components/HBASE_MASTER",
> "HostRoles": {
> "cluster_name": "cl1",
> "component_name": "HBASE_MASTER",
> "host_name": "ctr-e129-1487033772569-55070-01-000003.localdomain"
> },
> "host": {
> "href": "https://host1:8443/api/v1/clusters/cl1/hosts/ctr-e129-1487033772569-55070-01-000003.localdomain"
> },
> "metrics": {
> "hbase": {
> "master": {
> "IsActiveMaster": "true"
> }
> }
> }
> }
> ]
> }
> {code}
> Attaching screenshots.
> Steps:
> - On HA-enabled cluster go to HBase summary page.
> - Shutdown the current HBase Active Master
> - Verify the hbase quick links menu. You should see "(Active)" for couple of hostnames. If not, please refresh and verify.
> - Click the rest api call and verify that two masters have IsActiveMaster value as true



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)