hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huaxiang sun (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-18363) Hbck option to undeploy in memory replica parent region
Date Wed, 19 Jul 2017 01:34:02 GMT

     [ 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

View raw message