Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2974

GenericExceptionHandler to handle ErrorMessagesException by extracting messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.6.0
    • None
    • webapp
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: