hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12334) Handling of DeserializationException causes needless retry on failure
Date Fri, 24 Oct 2014 01:31:33 GMT
James Taylor created HBASE-12334:
------------------------------------

             Summary: Handling of DeserializationException causes needless retry on failure
                 Key: HBASE-12334
                 URL: https://issues.apache.org/jira/browse/HBASE-12334
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.7
            Reporter: James Taylor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message