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

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

bq. Ok. Lets see how we do. I think adoption service is what we want in the 
end. Maybe we get there incrementally.
Agreed. We can add adoption service in the future.

bq. For anything else, an overlap found in HDFS... we'll need to add something 
... to the master? Otherwise its HBCK2 figuring where the hfiles should go, 
placing them there, then reopen of the touched regions.
We can fix it by bulkload tool?
Step1. we need to make sure there are no holes for this table. If there are 
holes, fix meta holes first.
Step2. Get the table's regions start/end key. Read the orphan regions dir's 
hfile and generate new hfile.
Step3. Bulkload the new generated hfile.

> 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