Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28376

Column family ns does not exist in region during upgrade to 3.0.0-beta-2

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Upgrading from 2.5.x to 3.0.0-alpha-2, migrateNamespaceTable kicks in to copy data from the namespace table to an "ns" family of the meta table. If you don't have an "ns" family, the migration fails and the hmaster will crash loop. You then can't rollback, because the briefly alive upgraded hmaster created a procedure that can't be deserialized by 2.x (I don't have this log handy unfortunately). I tried pushing code to create the ns family on startup, but it doesnt work becuase the migration happens while the hmaster is still initializing.

      So it seems imperative that you create the ns family before upgrading. We should handle this more gracefully.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              bbeaudreault Bryan Beaudreault
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: