phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3938) Don't throw IOException out of coprocessor hooks
Date Wed, 05 Jul 2017 21:22:00 GMT

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

Samarth Jain commented on PHOENIX-3938:
---------------------------------------

Ping, [~jamestaylor] for review. [~enis] or [~rajeshbabu] - would appreciate your feedback
on the handling of InterruptedExceptions.

> Don't throw IOException out of coprocessor hooks
> ------------------------------------------------
>
>                 Key: PHOENIX-3938
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3938
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Samarth Jain
>         Attachments: PHOENIX-3938_nowhitespacediff.patch
>
>
> We shouldn't wrap and throw exceptions as an IOException from coprocessor hooks since
that'll trigger the retry logic which just delays throwing the exception back to the client.
Instead, we should wrap in a DoNotRetryIOException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message