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] [Commented] (HBASE-5583) Master restart on create table with splitkeys does not recreate table with all the splitkey regions
Date Mon, 18 Mar 2013 16:20:16 GMT

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

Matteo Bertozzi commented on HBASE-5583:
----------------------------------------

{quote}
Could we consider make creating table as a transaction, e.g. create files in tmp directory,
atomic put regions to .META.?
{quote}

We have already that, the problem is that META and the filesystem are two separate operations...
so you may fail in the middle and have META but not the fs dir moved...
The idea of the file-tracking table (mentioned in others jira, e.g. HBASE-7806) was exactly
to solve the problem and having a single source of truth... and have the table creation/deletion
as transaction
                
> Master restart on create table with splitkeys does not recreate table with all the splitkey
regions
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5583
>                 URL: https://issues.apache.org/jira/browse/HBASE-5583
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.95.0
>
>
> -> Create table using splitkeys
> -> MAster goes down before all regions are added to meta
> -> On master restart the table is again enabled but with less number of regions than
specified in splitkeys
> Anyway client will get an exception if i had called sync create table.  But table exists
or not check will say table exists. 
> Is this scenario to be handled by client only or can we have some mechanism on the master
side for this? Pls suggest.

--
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