[
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.v2.patch
More fix on the put methods.
Notice that the flushCommits and put methods signature in HTableInterface are
all declared to throw IOException, no matter in 0.98 or 1.x, but the
implementation methods in HTable change to throw InterruptedIOException and
RetriesExhaustedWithDetailsException in 0.98 codes. Fix in the patch follows
the 0.98 way.
> Compatibility issue on flushCommits and put methods in HTable
> -------------------------------------------------------------
>
> 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, HBASE-15089.v2.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). HTable#put has the same
> problem.
> After a check, the compatibility issue was introduced by HBASE-12728. Will
> recover the compatibility In this JIRA.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)