You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yu Li (JIRA)" <ji...@apache.org> on 2016/01/12 08:28:39 UTC

[jira] [Updated] (HBASE-15089) Compatibility issue on HTable#flushCommits

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

Yu Li updated HBASE-15089:
--------------------------
    Attachment: HBASE-15089.patch

Attaching a straight-forward patch. After the change, new codes which catch IOException will still works, while old 0.98 codes which catch InterruptedIOException and RetriesExhaustedWithDetailsException separately will also work.

> Compatibility issue on HTable#flushCommits
> ------------------------------------------
>
>                 Key: HBASE-15089
>                 URL: https://issues.apache.org/jira/browse/HBASE-15089
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>            Reporter: Yu Li
>            Assignee: Yu Li
>            Priority: Minor
>         Attachments: HBASE-15089.patch
>
>
> Previously in 0.98 HTable#flushCommits throws InterruptedIOException and RetriesExhaustedWithDetailsException, but now in 1.1.2 this method signature has been changed to throw IOException, which will force application code changes for exception handling (previous catch on InterruptedIOException and RetriesExhaustedWithDetailsException become invalid).
> In this JIRA we propose to recover the compatibility.



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