[ 
https://issues.apache.org/jira/browse/HBASE-21745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904783#comment-16904783
 ] 

Guanghao Zhang commented on HBASE-21745:
----------------------------------------

bq. I do not follow what you are saying above. I was fine till I go to "....and 
there are overlap regions on meta."
We found some orphan regions on our test cluster. The regions dir is empty. And 
no region holes in meta. For this case, the orphan region dir shouled be remove 
directly.

bq. I was thinking we'd add an 'adopt' API to hbck Service. You'd pass it one 
or more 'orphan' directories. The Master would read the directory and figure 
where to put the hfiles doing the right thing. The Master would be running an 
'adoption service'.
The 'adoption service' is not easy to handle all cases... HBCK2 tool only 
provide basic function and user can combine them to generate powerful functions 
now. I thought we can do this at HBCK tool (client-side). But should not add 
'adopt' API to hbck Service now (master-side).

> Make HBCK2 be able to fix issues other than region assignment
> -------------------------------------------------------------
>
>                 Key: HBASE-21745
>                 URL: https://issues.apache.org/jira/browse/HBASE-21745
>             Project: HBase
>          Issue Type: Umbrella
>          Components: hbase-operator-tools, hbck2
>            Reporter: Duo Zhang
>            Assignee: stack
>            Priority: Critical
>
> This is what [~apurtell] posted on mailing-list, HBCK2 should support
>  * -Rebuild meta from region metadata in the filesystem, aka offline meta 
> rebuild.-
>  * -Fix assignment errors (undeployed regions, double assignments (yes, 
> should not be possible), etc)- (See 
> https://issues.apache.org/jira/browse/HBASE-21745?focusedCommentId=16888302&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16888302)
>  * Fix region holes, overlaps, and other errors in the region chain
>  * Fix failed split and merge transactions that have failed to roll back due 
> to some bug (related to previous)
>  *  -Enumerate store files to determine file level corruption and sideline 
> corrupt files-
>  * -Fix hfile link problems (dangling / broken)-



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to