You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/03/29 04:08:00 UTC

[jira] [Updated] (HBASE-22121) AsyncAdmin can not deal with non default meta replica

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

Duo Zhang updated HBASE-22121:
------------------------------
    Attachment: HBASE-22121.patch

> AsyncAdmin can not deal with non default meta replica
> -----------------------------------------------------
>
>                 Key: HBASE-22121
>                 URL: https://issues.apache.org/jira/browse/HBASE-22121
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin, asyncclient, Client
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.3.0, 2.1.5
>
>         Attachments: HBASE-22121.patch
>
>
> In AsyncAdmin we support passing both encodedRegionName and regionName as a parameter so we have a getRegionInfo method to get the RegionInfo first.
> In general we will scan the meta table to get the region info, but for meta region itself, the problem is that, we only check for the first replica, so for the non default replicas, we will still go to the meta region and then get an UnknownRegionException.
> We should find a way to deal with this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)