ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-13209) API returns incorrect info about alerts
Date Wed, 23 Sep 2015 15:30:05 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-13209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Lysnichenko resolved AMBARI-13209.
-----------------------------------------
    Resolution: Fixed

Committed 
{code}
   0894b5b..f430fd3  branch-2.1 -> branch-2.1
   4fa100b..15c2ec3  branch-2.1.2 -> branch-2.1.2
   4457369..d05dd66  trunk -> trunk
{code}

> API returns incorrect info about alerts
> ---------------------------------------
>
>                 Key: AMBARI-13209
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13209
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Critical
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13209.patch
>
>
> Steps:
> # Deploy cluster.
> # Stop some service.
> # Wait for alerts appearing.
> Result: Hosts page button does not have counter with alerted hosts.
> "http://host:8080/api/v1/clusters/cl1?fields=Clusters/health_report,Clusters/total_hosts,alerts_summary_hosts&minimal_response=true":
> {code}
> {
>   "Clusters" : {
>     "cluster_name" : "cl1",
>     "health_report" : {
>       "Host/stale_config" : 0,
>       "Host/maintenance_state" : 0,
>       "Host/host_state/HEALTHY" : 4,
>       "Host/host_state/UNHEALTHY" : 0,
>       "Host/host_state/HEARTBEAT_LOST" : 0,
>       "Host/host_state/INIT" : 0,
>       "Host/host_status/HEALTHY" : 0,
>       "Host/host_status/UNHEALTHY" : 1,
>       "Host/host_status/UNKNOWN" : 0,
>       "Host/host_status/ALERT" : 3
>     },
>     "total_hosts" : 4,
>     "version" : "HDP-2.3"
>   },
>   "alerts_summary_hosts" : {
>     "CRITICAL" : 0,
>     "OK" : 4,
>     "UNKNOWN" : 0,
>     "WARNING" : 0
>   }
> }
> {code}
> {code}
> "CRITICAL" : 0,
> "WARNING" : 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message