hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2974) GenericExceptionHandler to handle ErrorMessagesException by extracting messages
Date Wed, 17 Dec 2014 12:50:13 GMT

    [ https://issues.apache.org/jira/browse/YARN-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249798#comment-14249798
] 

Steve Loughran commented on YARN-2974:
--------------------------------------

Note that the output does end up on stdout/stderr; its just not being picked up by log4j,
and we can't extract meaningful text to send over to callers like test runners

> 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)

Mime
View raw message