[ 
https://issues.apache.org/jira/browse/HBASE-17534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Elser updated HBASE-17534:
-------------------------------
    Attachment: HBASE-17534.001.branch-1.patch

.001 Simple change to check if the {{Throwable}} is already an {{IOException}} 
and some tests to boot via mocking.

> SecureBulkLoadClient squashes DoNotRetryIOExceptions from the server
> --------------------------------------------------------------------
>
>                 Key: HBASE-17534
>                 URL: https://issues.apache.org/jira/browse/HBASE-17534
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.4.0, 1.3.1, 1.2.5, 1.1.9
>
>         Attachments: HBASE-17534.001.branch-1.patch
>
>
> While writing some tests against 1.x, I noticed that what should have been a 
> DoNotRetryIOException sent to the client from a RegionServer was getting 
> retried until it reached the hbase client retries limit.
> Upon inspection, I found that the SecureBulkLoadClient was wrapping all 
> Exceptions from the RPC as an IOException. I believe this is creating a case 
> where the RPC system doesn't notice that there's a DNRIOException wrapped 
> beneath it, thinking it's a transient error.
> This results in clients having to wait for the retry limit to be reached 
> before they get acknowledgement that something failed.



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

Reply via email to