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

Ted Yu edited comment on HBASE-7537 at 1/14/13 7:08 PM:
--------------------------------------------------------

checkRegioninfoOnFilesystem() is private and calls 
writeRegioninfoOnFilesystem() directly. Is the method needed ?
                
      was (Author: [email protected]):
    checkRegioninfoOnFilesystem() is private and calls 
writeRegioninfoOnFilesystem() directly. Is the method needed 
                  
> .regioninfo not created by createHRegion()
> ------------------------------------------
>
>                 Key: HBASE-7537
>                 URL: https://issues.apache.org/jira/browse/HBASE-7537
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.96.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>         Attachments: HBASE-7537-v0.patch
>
>
> After HBASE-5683 we have no longer the .regioninfo written on disk during the 
> table creation.
> so, if we fail before adding entries to .META. we end up with regions on disk 
> that has no information, and hbck is not able to recover this situation.
> The .regioninfo is written in checkRegioninfoOnFilesystem() that was called 
> by initialize(), during the table creation and region opening. With 
> HBASE-5683 we skip the call to initialize(), in during the region creation, 
> to avoid to initialize the memstore & co.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to