hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15089) Compatibility issue on flushCommits and put methods in HTable
Date Wed, 13 Jan 2016 05:13:39 GMT

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

Yu Li commented on HBASE-15089:
-------------------------------

Thanks for the detailed explanation [~elserj], [~enis] and [~busbey]! I agree that this could
be closed as "Not a problem" since source compatibility description in release note is clear
(my fault that didn't read it carefully enough). And thanks [~anoop.hbase] for coordination.
HBase team is excellent as always! :-)

bq. Alternatively, would an addition to the upgrade docs that gives an example of moving from
HTable in 0.98 to BufferedMutator in 1.0 help ease this pain Yu Li?
Yes, I think this would be helpful, thanks.

> 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)

Mime
View raw message