ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-4335) Configure Jetty to return errors as JSON
Date Fri, 17 Jan 2014 19:12:38 GMT
Myroslav Papirkovskyy created AMBARI-4335:
---------------------------------------------

             Summary: Configure Jetty to return errors as JSON
                 Key: AMBARI-4335
                 URL: https://issues.apache.org/jira/browse/AMBARI-4335
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.5.0
            Reporter: Myroslav Papirkovskyy
            Assignee: Myroslav Papirkovskyy
             Fix For: 1.5.0


Currently for some http errors Jetty returns pretty bad formatted simple html page with error
explanation.
We should change this behavior to return errors as JSON in same format as for server internal
errors to make them easily parsable by request schedule endpoint.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message