ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8035) Alerts: Creating WEB Alert Definitions via REST API Drops URI
Date Thu, 30 Oct 2014 04:34:33 GMT

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

Hadoop QA commented on AMBARI-8035:
-----------------------------------

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

This message is automatically generated.

> Alerts: Creating WEB Alert Definitions via REST API Drops URI
> -------------------------------------------------------------
>
>                 Key: AMBARI-8035
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8035
>             Project: Ambari
>          Issue Type: Bug
>          Components: alerts, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8035.patch
>
>
> {code}
> {
>   "AlertDefinition" : {
>     "cluster_name" : "c1",
>     "component_name" : "NAMENODE",
>     "enabled" : true,
>     "interval" : 1,
>     "label" : "AD Creation Test",
>     "name" : "ad_creation_test",
>     "scope" : "ANY",
>     "service_name" : "HDFS",
>     "source" : {
>       "uri": {
>       "http": "{{hdfs-site/dfs.namenode.http-address}}",
>       "https": "{{hdfs-site/dfs.namenode.https-address}}",
>       "https_property": "{{hdfs-site/dfs.http.policy}}",
>       "https_property_value": "HTTPS_ONLY"
>       },
>       "reporting" : {
>         "ok" : {
>           "text" : "TCP OK - {0:.4f} response on port {1}"
>         },
>         "critical" : {
>           "text" : "Connection failed: {0} on host {1}:{2}"
>         }
>       },
>       "type" : "WEB"
>     }
>   }
> }
> {code}
> Creates the alert successfully, but the URI parameter is missing. This does not affect
alerts read from alerts.json



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

Mime
View raw message