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

Master should fail-safe if starting with a pre 0.96 layout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.96.2, 0.99.0, 0.98.5, 2.0.0
    • 0.99.0, 0.98.6
    • master
    • None
    • Reviewed

    Description

      We recently saw this: If user inadvertently starts the HBase Master after deploying new HBase binaries (any version that supports namespaces), the HMaster will start the migration to PBs the the hbase.version file per HBASE-5453 and that will write a new version file PB-serialized but with the old version number. Further restarts of the master will fail because the hbase version file has been migrated to PBs and there will be version mismatch. The right approach should be to fail safe the master if we find an old hbase.version file in order to force user to run upgrade tool.

      Attachments

        1. HBASE-11726.v0.diff
          2 kB
          Esteban Gutierrez
        2. HBASE-11726.v1.diff
          2 kB
          Esteban Gutierrez
        3. HBASE-11726.v2.diff
          1 kB
          Esteban Gutierrez

        Activity

          People

            esteban Esteban Gutierrez
            esteban Esteban Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: