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

Handling of DeserializationException causes needless retry on failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.7
    • 0.98.8, 0.99.2
    • None
    • Reviewed

    Description

      If an unexpected exception occurs when deserialization occurs for a custom filter, the exception gets wrapped in a DeserializationException. Since this exception is in turn wrapped in an IOException, the many loop retry logic kicks in. The net effect is that this same deserialization error occurs again and again as the retries occur, just causing the client to wait needlessly.

      IMO, either the parseFrom methods should be allowed to throw whatever type of IOException they'd like, in which case they could throw a DoNotRetryIOException, or a DeserializationException should be wrapped in a DoNotRetryIOException.

      Attachments

        1. 12334-0.98.txt
          0.7 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: