You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/10/24 21:56:33 UTC

[jira] [Commented] (AMBARI-7955) Alerts: Expose the Ability to Create Host-Only Alerts

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

Hadoop QA commented on AMBARI-7955:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12676966/AMBARI-7928.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 5 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/348//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/348//console

This message is automatically generated.

> Alerts: Expose the Ability to Create Host-Only Alerts
> -----------------------------------------------------
>
>                 Key: AMBARI-7955
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7955
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-agent, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-7928.patch
>
>
> Adds "host-only" alerts to the alert framework infrastructure. Alerts that are only for a host are those that are run on every host in the cluster and are not bound to any particular stack service. They exist "outside" of the stack.
> In order to accomplish this, several changes were made:
> 1) A new alerts.json was created at the root resources directory to represent host-only alerts. This file is parsed separately from the stack but its definitions are merged into the database in the same manner as those from the stack
> 2) These new alerts must be bound to the service AMBARI and component AMBARI_AGENT
> 3) Host alerts are usually custom scripts; a new directory was needed so that resources could be copied from the Ambari Server to the Agent in the same manner that the stack and custom_actions resources are copied. This is the new "host_scripts" directory.
> 4) RPM updates to ensure that "host_scripts" is properly packaged.



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