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-14984) Script Alert Parameters With Shell Characters Are Not Properly Escaped
Date Wed, 10 Feb 2016 13:52:18 GMT

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

Hadoop QA commented on AMBARI-14984:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12787173/AMBARI-14984.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-funtest ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5291//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5291//console

This message is automatically generated.

> 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)

Mime
View raw message