ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Gergely (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15965) Recommendation returns OK response if stack_advisor.py has SyntaxError
Date Tue, 19 Apr 2016 08:45:25 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-15965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Gergely updated AMBARI-15965:
------------------------------------
    Status: Patch Available  (was: Open)

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

Mime
View raw message