hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zach York (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17587) Do not Rethrow DoNotRetryIOException as UnknownScannerException
Date Fri, 03 Feb 2017 00:24:51 GMT

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

Zach York commented on HBASE-17587:
-----------------------------------

[~apurtell] CorruptHFileException extends DoNotRetryIOException so this is still valid [1].
I dropped this in all of the patches.

[1] http://stackoverflow.com/questions/7313559/what-is-the-instanceof-operator-used-for

> Do not Rethrow DoNotRetryIOException as UnknownScannerException
> ---------------------------------------------------------------
>
>                 Key: HBASE-17587
>                 URL: https://issues.apache.org/jira/browse/HBASE-17587
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors, regionserver, rpc
>    Affects Versions: 2.0.0, 1.3.0
>            Reporter: Zach York
>            Assignee: Zach York
>             Fix For: 2.0.0, 1.4.0, 1.3.1
>
>         Attachments: HBASE-17587.branch-1.001.patch, HBASE-17587.branch-1.002.patch,
HBASE-17587.branch-1.003.patch, HBASE-17587.branch-1.3.001.patch, HBASE-17587.branch-1.3.002.patch,
HBASE-17587.branch-1.3.003.patch, HBASE-17587.master.001.patch, HBASE-17587.master.002.patch,
HBASE-17587.master.003.patch
>
>
> HBase commit https://github.com/apache/hbase/commit/94ade6a514e9935a8c283befb31f29cd8d3a2045
broke co-processors (such as Phoenix) throwing DoNotRetryIOExceptions when scanning a table.
This change rethrows them as UnknownScannerExceptions which the HBase client will retry on.
This is unintended behavior since co-processors should be able to throw DoNotRetryIOExceptions
back to the client. This came up through a phoenix IT when trying to upgrade to HBase 1.3.0
https://github.com/apache/phoenix/pull/230



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message