hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Vashishtha (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HBASE-9497) Old .META. .tableinfo file kills HMaster
Date Tue, 10 Sep 2013 23:17:53 GMT

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

Himanshu Vashishtha reassigned HBASE-9497:
------------------------------------------

    Assignee: Himanshu Vashishtha
    
> Old .META. .tableinfo file kills HMaster
> ----------------------------------------
>
>                 Key: HBASE-9497
>                 URL: https://issues.apache.org/jira/browse/HBASE-9497
>             Project: HBase
>          Issue Type: Bug
>          Components: master, migration
>    Affects Versions: 0.95.2
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>             Fix For: 0.98.0, 0.96.0
>
>         Attachments: HBase-9497.patch
>
>
> In pre-0.96, .META. has .tableinfo files which refer to .META. On startup, master tries
to read it and aborts since the table name has changed. The .META. .tableinfo files are not
being created in 0.94.x (fixed for 96 in HBASE-6971; but this can be reproduced when migrating
from 0.92 -> 0.94 -> 0.96. Our old users would be affected by this.
> {code}
> java.lang.IllegalArgumentException: .META. no longer exists. The table has been renamed
to hbase:meta
> 	at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:291)
> 	at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:283)
> 	at org.apache.hadoop.hbase.HTableDescriptor.readFields(HTableDescriptor.java:960)
> 	at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:131)
> 	at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:101)
> 	at org.apache.hadoop.hbase.HTableDescriptor.parseFrom(HTableDescriptor.java:1407)
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.readTableDescriptor(FSTableDescriptors.java:521)
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.createTableDescriptorForTableDirectory(FSTableDescriptors.java:707)
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.createTableDescriptor(FSTableDescriptors.java:683)
> 	at org.apache.hadoop.hbase.util.FSTableDescriptors.createTableDescriptor(FSTableDescriptors.java:670)
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:485)
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:145)
> 	at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:129)
> 	at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:761)
> {code}

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