[ https://issues.apache.org/jira/browse/HBASE-4301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094821#comment-13094821 ]
Subbu M Iyer commented on HBASE-4301: ------------------------------------- I think I know what the root cause of this problem might be: Todd, you mentioned that you are not seeing the .tableinfo for -ROOT- and .META. for both fresh startup cluster as well as migrated one which is a problem. We must have .tableinfo for all the tables including ROOT and META. In the case of the migration from older version to trunk, the tableinfo data for .META. and -ROOT- are not getting created. We originally had this taken care by creating the .tableinfo at create region time which would address both older migration as well as fresh start cases. Long story short, we need to patch this by making master create the ROOT and META tableinfo at startup (if required, only once during first time start up). In MasterFileSystem we might do some thing like: 324 if (!FSUtils.rootRegionExists(fs, rd)) { 325 bootstrap(rd, c); 326 } // Create META and ROOT tableInfo if required. if (!FSUtils.rootTableInfoExists(fs, rd)) { FSUtils.createTableDescriptor(HTableDescriptor.ROOT_TABLEDESC, this.conf); FSUtils.createTableDescriptor(HTableDescriptor.META_TABLEDESC, this.conf); } Stack: Can you take this since I am out? thanks Subbu > META migration from 0.90 to trunk fails > --------------------------------------- > > Key: HBASE-4301 > URL: https://issues.apache.org/jira/browse/HBASE-4301 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.92.0 > Reporter: Todd Lipcon > Priority: Blocker > Fix For: 0.92.0 > > Attachments: master-log.txt > > > I started a trunk cluster as an upgrade from 0.90.4ish, and now my META table > is screwed. I can't scan it, etc, and other operations fail. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira