ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Santesteban (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (AMBARI-19283) Ambari agent doesn't find alert scripts in a stack extension
Date Thu, 22 Dec 2016 20:51:58 GMT

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

Diego Santesteban updated AMBARI-19283:
---------------------------------------
    Comment: was deleted

(was: (Sorry for the double-comment... thought I did something wrong the first time)

I added an "extension_directory" parameter to the AlertSchedulerHandler class initializer,
and made necessary changes to implement the parameter in script_alert.py, supply the parameter
from Controller.py.

I also changed existing test cases to provide the extra parameter to the AlertSchedulerHandler
init and added a new test case that ensures the "extension" parameter is working correctly.)

> Ambari agent doesn't find alert scripts in a stack extension
> ------------------------------------------------------------
>
>                 Key: AMBARI-19283
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19283
>             Project: Ambari
>          Issue Type: Bug
>          Components: alerts
>    Affects Versions: 2.4.2
>            Reporter: Diego Santesteban
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19283.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When a service in a stack extension includes alerts, Ambari cannot find the scripts for
the alerts. It's only looking in the cache/stacks and cache/host_scripts directories. Ambari
needs to check the cache/extensions directory as well.



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

Mime
View raw message