Steve Loughran created YARN-2974:
------------------------------------

             Summary: GenericExceptionHandler to handle ErrorMessagesException 
by extracting messages
                 Key: YARN-2974
                 URL: https://issues.apache.org/jira/browse/YARN-2974
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: webapp
    Affects Versions: 2.6.0
            Reporter: Steve Loughran


The Jersey {{ErrorMessagesException}} supports a list of messages, and is how 
jersey itself builds up errors. 

{{GenericExceptionHandler }} doesn't have special handling here and converts to 
a 500, discarding all the text as it does so.

the handler should recognise the exception, log the messages and build up the 
response text from it.



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

Reply via email to