hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15089) Compatibility issue on flushCommits and put methods in HTable
Date Tue, 12 Jan 2016 19:03:40 GMT

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

Sean Busbey commented on HBASE-15089:
-------------------------------------

{quote}
We had made the explicit choice for the API clean up, and deprecated, cleaned up and moved
some of the APIs to Private intentionally in various issues. I suggest we close this as "Not
a Problem".
{quote}

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 [~carp84]?

> 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