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

Olivér Szabó commented on AMBARI-15965:
---------------------------------------

committed to trunk:
{code:java}
commit 75f02a912ba61e1cedac214b8359ba1b7d588d10
Author: oleewere <oleew...@gmail.com>
Date:   Thu Apr 21 11:36:52 2016 +0200

    AMBARI-15965. Recommendation returns OK response if stack_advisor.py has 
SyntaxError (Daniel Gergely via oleewere)
{code}

> Recommendation returns OK response if stack_advisor.py has SyntaxError
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-15965
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15965
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Daniel Gergely
>            Assignee: Daniel Gergely
>         Attachments: AMBARI-15965.patch
>
>
> In the case of having a syntax error in a stack_advisor.py, it is swallowed 
> and call is returned with exit code 0.
> This means that configuration changes before the syntax error are applied, 
> but  changes after the syntax error are skipped.
> As a result the browser call returns with the response of 200 OK and 
> configuration that looks to be correct, but it might be incorrect, since 
> parts of the stack advisor is skipped.



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

Reply via email to