hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7537) .regioninfo not created by createHRegion()
Date Mon, 14 Jan 2013 18:10:13 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matteo Bertozzi updated HBASE-7537:
-----------------------------------

    Attachment: HBASE-7537-v0.patch

Simple patch to fix the current state, and add a test to verify that the .regioninfo is present
on creation and is recreated on region opening if missing.

Also fix a bad parm naming for a openHRegionInfo(). was tableDir instead of rootDir.
                
> .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

Mime
View raw message