[
https://issues.apache.org/jira/browse/AMBARI-19283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Diego Santesteban updated AMBARI-19283:
---------------------------------------
Status: Patch Available (was: Open)
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)