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

Jonathan Hsieh commented on HBASE-4377:
---------------------------------------

When backporting to 0.90, the TestOfflineMetaRebuild test case would fail out 
due to out of file handles exceptions.  I dug for a while and found that the 
static HConnections cached connections that are not flushed between tests.  
Even after avoiding that there are other resources (maybe pooling on hdfs 
client or zk client connections?) that cause the open file handles count to 
increase significantly after every test case.  

To avoid this problem, I'm going to split out the each rebuild tests into own 
test case so that each can be executed in a new process and avoid the out of 
file handles problem.  I'll do this for trunk and for the 0.90 backport.
                
> [hbck] Offline rebuild .META. from fs data only.
> ------------------------------------------------
>
>                 Key: HBASE-4377
>                 URL: https://issues.apache.org/jira/browse/HBASE-4377
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>         Attachments: 
> 0001-HBASE-4377-hbck-Offline-rebuild-.META.-from-fs-data-.patch, 
> hbase-4377-trunk.v2.patch
>
>
> In a worst case situation, it may be helpful to have an offline .META. 
> rebuilder that just looks at the file system's .regioninfos and rebuilds meta 
> from scratch.  Users could move bad regions out until there is a clean 
> rebuild.  
> It would likely fill in region split holes.  Follow on work could given 
> options to merge or select regions that overlap, or do online rebuilds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to