You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/12/17 13:24:39 UTC

[jira] [Created] (YARN-2974) GenericExceptionHandler to handle ErrorMessagesException by extracting messages

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)