You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2016/02/10 00:43:18 UTC
[jira] [Updated] (AMBARI-14984) Script Alert Parameters With Shell
Characters Are Not Properly Escaped
[ https://issues.apache.org/jira/browse/AMBARI-14984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hurley updated AMBARI-14984:
-------------------------------------
Attachment: AMBARI-14984.patch
> Script Alert Parameters With Shell Characters Are Not Properly Escaped
> ----------------------------------------------------------------------
>
> Key: AMBARI-14984
> URL: https://issues.apache.org/jira/browse/AMBARI-14984
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Fix For: 2.4.0
>
> Attachments: AMBARI-14984.patch
>
>
> When creating a script alert, the parameters passed to that script should not have any un-escaped special characters. Things like quotes can cause the arguments to be cut:
> Original text passed in:
> {code}
> Metastore on c6403.ambari.apache.org failed "this is in quotes"
> {code}
> {code}
> ===============START================
> Tue Feb 9 16:10:17 EST 2016
> -> Argument: hive_metastore_process
> -> Argument: Hive Metastore Process
> -> Argument: HIVE
> -> Argument: CRITICAL
> -> Argument: Metastore on c6403.ambari.apache.org failed
> -> Argument: this is in quotes
> ================END=================
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)