[
https://issues.apache.org/jira/browse/YARN-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran resolved YARN-2974.
----------------------------------
Resolution: Won't Fix
Jersey error code doesn't provide accessors to the error strings, simply
something static to log them through the java util logger :(
> 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)