Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6055 Offline Snapshots in HBase 0.96
  3. HBASE-7436

Improve stack trace info dumped by ForeignExceptionSnare#rethrowException

    XMLWordPrintableJSON

Details

    Description

      Currently the way rethrowException works it throws an exception with the stack where the ForeignException was locally created (normally where it gets deserialized, and with a getCause with the stack of the original thread on the remote thread.

      Unfortunately, this doesn't provide any in formation about which call to rethrowException locally tripped over the exception. This simple patch wraps again to get the stack info which provides this missing context.

      Attachments

        1. hbase-7436.add.patch
          0.9 kB
          Jonathan Hsieh
        2. hbase-7436.patch
          0.9 kB
          Jonathan Hsieh

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: