[ https://issues.apache.org/jira/browse/YARN-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249754#comment-14249754 ]
Steve Loughran commented on YARN-2974: -------------------------------------- The client-side response is even less useful {code} Request to http://stevel-763.local:63771/proxy/application_1418816662063_0001/ws/v1/slider/application/live/resources failed with exit code 500, body length 221: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><RemoteException><exception>ErrorMessagesException</exception><javaClassName>com.sun.jersey.spi.inject.Errors$ErrorMessagesException</javaClassName></RemoteException> {code} > 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)