[ 
https://issues.apache.org/jira/browse/HBASE-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14183842#comment-14183842
 ] 

Hudson commented on HBASE-12334:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #5698 (See 
[https://builds.apache.org/job/HBase-TRUNK/5698/])
HBASE-12334 Handling of DeserializationException causes needless retry on 
failure. (larsh: rev 6c7543c9c7d88b6d77e8d0d52ddad260fb487ae4)
* hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java


> 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
>            Assignee: Lars Hofhansl
>              Labels: Phoenix
>             Fix For: 2.0.0, 0.98.8, 0.99.2
>
>         Attachments: 12334-0.98.txt
>
>
> 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)

Reply via email to