HBase
  1. HBase
  2. HBASE-506

When an exception has to escape ServerCallable due to exhausted retries, show all the exceptions that lead to this situation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0, 0.2.0
    • Component/s: Client
    • Labels:
      None

      Description

      Every so often, we find ourselves trying to debug a problem that happens in HTable where we exhaust all our retries trying to contact the region server hosting the region we want to operate on. Oftentimes the last exception that comes out is something like WrongRegionException, which should just never be the case.

      As a way to improve our debugging capabilities, when we decide to throw an exception out of ServerCallable, let's show not just the last exception but all the exceptions that caused all the retries in the first place. This will help us understand the sequence of events that led to us running out of retries.

      1. 506.patch
        2 kB
        Bryan Duxbury
      2. 506-0.1.patch
        2 kB
        Bryan Duxbury

        Activity

          People

          • Assignee:
            Bryan Duxbury
            Reporter:
            Bryan Duxbury
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development