Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BA269200BE3 for ; Thu, 22 Dec 2016 21:51:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B8CAD160B35; Thu, 22 Dec 2016 20:51:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3B3F1160B1B for ; Thu, 22 Dec 2016 21:51:59 +0100 (CET) Received: (qmail 18082 invoked by uid 500); 22 Dec 2016 20:51:58 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 18062 invoked by uid 99); 22 Dec 2016 20:51:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2016 20:51:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 585F82C0453 for ; Thu, 22 Dec 2016 20:51:58 +0000 (UTC) Date: Thu, 22 Dec 2016 20:51:58 +0000 (UTC) From: "Diego Santesteban (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (AMBARI-19283) Ambari agent doesn't find alert scripts in a stack extension MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Dec 2016 20:51:59 -0000 [ 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)