ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8982) Include Maintenance Mode Counts in Summary Alert Renderers
Date Mon, 05 Jan 2015 15:43:35 GMT

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

Hudson commented on AMBARI-8982:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1389 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1389/])
AMBARI-8982 - Include Maintenance Mode Counts in Summary Alert Renderers (jonathanhurley)
(jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=acf4de18438aca9f6a05c4b0a9a1c5ac4d2c8f1d)
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/api/query/render/AlertStateValues.java
* ambari-server/src/main/java/org/apache/ambari/server/api/query/render/AlertStateSummary.java
* ambari-server/src/main/java/org/apache/ambari/server/api/query/render/AlertSummaryGroupedRenderer.java
* ambari-server/src/main/java/org/apache/ambari/server/api/query/render/AlertSummaryRenderer.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertResourceProviderTest.java


> Include Maintenance Mode Counts in Summary Alert Renderers
> ----------------------------------------------------------
>
>                 Key: AMBARI-8982
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8982
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8982.patch
>
>
> Add support for summary renderers like ?format=groupedSummary to handle status when instances
are in maintenance mode.
> {code}
> {
>   "href" : "http://localhost:8080/api/v1/clusters/c1/alerts?format=groupedSummary&Alert/definition_id=6",
>   "alerts_summary_grouped" : [
>     {
>       "definition_id" : 6,
>       "definition_name" : "falcon_server_webui",
>       "summary" : {
>         "OK" : {
>           "count" : 0,
>           "original_timestamp" : 1420061195766,
>           "maintenance_count" : 1
>         },
>         "WARNING" : {
>           "count" : 0,
>           "original_timestamp" : 0,
>           "maintenance_count" : 0
>         },
>         "CRITICAL" : {
>           "count" : 0,
>           "original_timestamp" : 0,
>           "maintenance_count" : 0
>         },
>         "UNKNOWN" : {
>           "count" : 0,
>           "original_timestamp" : 0,
>           "maintenance_count" : 0
>         }
>       }
>     }
>   ]
> }
> {code}
> The status for an instance is still the status for that instance: crit, ok or warn. It's
just whether that instance is in MM. 



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

Mime
View raw message