Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13419

Thrift gateway should propagate text from exception causes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1, 1.1.0, 2.0.0
    • Thrift
    • Reviewed
    • Compose thrift exception text from the text of the entire cause chain of the underlying exception.
    • Patch

    Description

      Exceptions passed back from the thrift gateway only include the message text of the toplevel exception. Information from the cause chain is lost.

      In some cases, the top-level exception text is useless but there is some very specific and useful information provided in some of the cause exceptions, so it would be very helpful to flatten all of the messages into the exception text returned to the user.

      Attachments

        1. ExpandExceptionCauses.patch
          14 kB
          Michael Muller
        2. ExpandExceptionCauses3.patch
          16 kB
          Michael Muller
        3. ExpandExceptionCauses4.patch
          13 kB
          Michael Muller

        Activity

          People

            mindhog Michael Muller
            mindhog Michael Muller
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: