You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "huaxiang sun (JIRA)" <ji...@apache.org> on 2017/07/19 01:34:02 UTC

[jira] [Resolved] (HBASE-18363) Hbck option to undeploy in memory replica parent region

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

huaxiang sun resolved HBASE-18363.
----------------------------------
    Resolution: Invalid

the in-memory region state can be fixed with "-fixAssignments".

> Hbck option to undeploy in memory replica parent region 
> --------------------------------------------------------
>
>                 Key: HBASE-18363
>                 URL: https://issues.apache.org/jira/browse/HBASE-18363
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 1.4.0, 2.0.0-alpha-1
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>            Priority: Minor
>
> We run into cases that with read replica, after split, sometimes, the parent replica region is left in  master's in memory onlineRegion list. This results in the region got assigned to a region server. Though the root cause will be fixed by HBASE-18025. We need to enhance hbck tool to fix this in-memory state. Currently, hbck only allows the fix for primary region (in this case, the primary region is gone) with fixAssignment option, please see the following line of code. We will enhance it so it can be applied to replica region as well.
> https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java#L2216



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)