[
https://issues.apache.org/jira/browse/HBASE-29232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-29232.
-------------------------------
Fix Version/s: 3.0.0-beta-2
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to master and branch-3.
The code on branch-2.x is a bit different, and on branch-2 we do not use async
admin extensively, so do not port these changes for now.
Can file backport issues in the future if needed.
Thanks [~nihaljain.cs] for reviewing!
> give up retrying earlier for some admin operations
> --------------------------------------------------
>
> Key: HBASE-29232
> URL: https://issues.apache.org/jira/browse/HBASE-29232
> Project: HBase
> Issue Type: Improvement
> Components: asyncclient, Client
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0-beta-2
>
>
> WHen running ITBLL, I found that if the region is moved during some actions,
> the operation will retry forever.
> The problem is that, when constructing AsyncAdminRequestRetryingCaller, we
> will pass the server name in. This is not a problem when we do some region
> server specific operations, like get metrics from region server, but for
> region operations, since it could be moved, retrying on the same region
> server does not help.
> At least we should fail the request without retrying until reaching the limit
> when hitting NotServingRegionException, or we should implement region
> relocating logic here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)