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-7535) Fix restore reference files
Date Fri, 11 Jan 2013 22:04:13 GMT

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

Matteo Bertozzi updated HBASE-7535:

    Attachment: HBASE-7535-v2.patch

Changed the _OPEN name to REF_OR_HFILE_LINK_PATTERN and changed the comment.
Also added an explanation of what happens during the restore

from snapshot to clone file transformation
 * hfile: abc -> table=region-abc
 * reference: abc.1234 -> table=region-abc.1234
 * hfilelink: table=region-hfile -> table=region-hfile

the reference is a special case, since during a clone operation the region will change name
(the region encoded name is calculated as md5 of region info)

If the source table is:
* 1234/abc
* 5678/abc.1234

The cloned table it will be:
* wxyz/table=1234-abc
* stuv/table=1234-abc.wxyz
> Fix restore reference files
> ---------------------------
>                 Key: HBASE-7535
>                 URL: https://issues.apache.org/jira/browse/HBASE-7535
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Blocker
>         Attachments: HBASE-7535-v0.patch, HBASE-7535-v1.patch, HBASE-7535-v2.patch
> After HBASE-7419 the HFileLink regex became stricter, to have the proper isHFileLink()
> but HFileLink should open both reference and hfiles
> since the main idea behind it is open stuff in /table/region/family/XYZ
> This patch fix the reference (split files) restore problem and open the hfilelink regex
for HFileLink(/table/region/family/xyz).open()

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

View raw message