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

2016-01-11 Thread Yu Li (JIRA)

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

Yu Li updated HBASE-15089:
--
Status: Patch Available  (was: Open)

Submit patch for HadoopQA

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


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

2016-01-11 Thread Yu Li (JIRA)

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