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

feng xu commented on HBASE-4094:
--------------------------------

>>Regards 18 above, when you say collect the regioninfo from regionserver and 
>>hdfs, what do you mean? 
the regions that in hole maybe be deployed on the reginserver,if not,maybe in 
hdfs. just to find them to fix the hole,it can recover the hole data.
 
>>What if the region is not on a regionserver? If its in the filesystem, how 
>>will you find it? 
the hbck tool will check the regionserver(WorkItemRegion()) and 
hdfs(WorkItemHdfsDir()),if the region that from regionserver or hdfs, store it 
and 
sign it where from by enum INFO_FROM. when check table chain,we can reference 
it to fix the hole.

>>Are you thinking of looking at all the regions in the filesystem and getting 
>>all of their .regioninfos 
yes, but just get the regions that not signed in META table from regionserver 
or filesystem .

>>then checking for which has a start and stop key that matches the hole?
the hole maybe need some regions to fix, in my patch ,if the region from 
regionserver or filesystem that the key range is overlapping with the hole,
I will use it to fix the hole, I also know it will make the overlapping problem 
in META table,but it can recover hole data,we can fix the overlapping problem
by merge tool,is it right?

>>Do you think this issue has overlap with HBASE-4058 Feng?
yes, this issue is also relate with the hbck tool to fix the cluster problem.


I have filed another issue HBASE-4122 which is about how to fix the chain hole 
problem and submitted a patch. 

> improve hbck tool to fix more hbase problem
> -------------------------------------------
>
>                 Key: HBASE-4094
>                 URL: https://issues.apache.org/jira/browse/HBASE-4094
>             Project: HBase
>          Issue Type: New Feature
>          Components: master
>    Affects Versions: 0.90.3
>            Reporter: feng xu
>             Fix For: 0.90.5
>
>         Attachments: HbaseFsck_TableChain.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to