Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15965

Recommendation returns OK response if stack_advisor.py has SyntaxError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ambari-server
    • None

    Description

      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.

      Attachments

        1. AMBARI-15965.patch
          0.9 kB
          Daniel Gergely

        Issue Links

          Activity

            People

              dgergely Daniel Gergely
              dgergely Daniel Gergely
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: