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

Enis Soztutar commented on HBASE-15089:
---------------------------------------

Thanks [~carp84]. We had done some clean up and tidying of the method 
signatures and as in this case generalized some exception declarations so that 
new Connection / Table / BufferedMutator APIs are future-proof as much as 
possible. As has been said above, there is no guarantee that 0.98 -> 1.0 is 
source compatible. Here is the relevant section from 1.0 release notes: 
{quote}
Compatibility
-----------------
Source Compatibility:
Client side code in HBase-1.0.0 is (mostly) source compatible with earlier
versions. Some minor API changes might be needed from the client side.

Wire Compatibility:
HBase-1.0.0 release is wire compatible with 0.98.x releases. Clients and
servers running in different versions as long as new features are not used
should be possible.
A rolling upgrade from 0.98.x clusters to 1.0.0 is supported as well. 1.0.0
introduces a new file format (hfile v3) that is enabled by default that
0.96.x code cannot read. Thus, rolling upgrade from 0.96 directly to 1.0.0
is
not supported.
1.0.0 is NOT wire compatible with earlier releases (0.94, etc).

Binary Compatibility:
Binary compatibility at the Java API layer with earlier versions (0.98.x,
0.96.x and 0.94.x) is NOT supported. You may have to recompile your client
code and any server side code (coprocessors, filters etc) referring to
hbase jars.
{quote}

Full release notes: http://markmail.org/message/u43qluenc7soxloe. 

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". 


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

Reply via email to