You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Amit Samanta (Jira)" <ji...@apache.org> on 2023/10/17 10:29:00 UTC
[jira] [Comment Edited] (HBASE-28117) [HBCK2] extraRegionsInMeta need supoort delete extra regions when table not exist
[ https://issues.apache.org/jira/browse/HBASE-28117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776125#comment-17776125 ]
Amit Samanta edited comment on HBASE-28117 at 10/17/23 10:28 AM:
-----------------------------------------------------------------
I have faced similar issues like this ---
Where due to hdfs issue few hbase blocks also got corrupted causing data loss.
But inconsistencies were there with
---------
ERROR: Region \{ meta =>, <Table>,1676456432901.009c618e1fb9f35737872e13f92306f7., hdfs => null, deployed => , replicaId => 0 } found in META, but not in HDFS or deployed on any region server.
-----------
Tried with extraRegionsInMeta --> nothing found
Checking through the hbase:meta scan found
table:state was missing Hence required removing from hbase:meta solved the issue.
Here I am very interested to see if we can clear all the fields from hbase:meta if hdfs path is not avaliable.
was (Author: JIRAUSER302627):
ack
> [HBCK2] extraRegionsInMeta need supoort delete extra regions when table not exist
> ---------------------------------------------------------------------------------
>
> Key: HBASE-28117
> URL: https://issues.apache.org/jira/browse/HBASE-28117
> Project: HBase
> Issue Type: Improvement
> Components: hbck2
> Affects Versions: 2.4.14
> Reporter: chaijunjie
> Priority: Major
>
> Some times, we delete one table dir on hdfs, we need use hbck2 to fix region info in hbase:meta...
> but some times, we use hbase shell delete the table state uncarefully,just like execute:
> deleteall 'hbase:meta','t1,xxx' (it not prevented...)
> then the table state lose
> when we want to use extraRegionsInMeta to remove these unuseful regions in meta...but it failed,beacuse the table is not exist..
> I think we should support do extraRegionsInMeta when table not exists...or there are other method to fix it?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)