You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Myroslav Papirkovskyy (JIRA)" <ji...@apache.org> on 2014/01/17 20:12:38 UTC

[jira] [Created] (AMBARI-4335) Configure Jetty to return errors as JSON

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)