[
https://issues.apache.org/jira/browse/HBASE-24966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-24966:
------------------------------
Hadoop Flags: Incompatible change,Reviewed
Release Note:
Remove the throws part for the following 3 methods in AsyncTableRegionLocator:
getStartKeys
getEndKeys
getStartEndKeys
It is a mistake and we will never throw exception directly from these methods.
The should get the exception from the returned CompletableFuture.
In order to not introduce new methods and make more confusing, we just remove
the throws part. It is an incompatible change, you may need to change your code
to remove the catch section when you upgrade to HBase 3.x.
> The methods in AsyncTableRegionLocator should not throw IOException directly
> ----------------------------------------------------------------------------
>
> Key: HBASE-24966
> URL: https://issues.apache.org/jira/browse/HBASE-24966
> Project: HBase
> Issue Type: Bug
> Components: API, Client
> Reporter: Duo Zhang
> Assignee: Nicholas Jiang
> Priority: Major
> Fix For: 3.0.0-alpha-1
>
>
> This is an incompatible change as we changed the method signature.
> But anyway this is a mistake so we should fix it...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)